v8. Markup is broken with "showOutsideDays" and "fixedWeeks" options in December 2022
See original GitHub issueDescribe the bug
Layout is broken with "react-day-picker": "8.0.0-beta.29"
under certain conditions.
To Reproduce reproduced here: https://codesandbox.io/s/daypicker-basicscustomization-weeknumber-example-forked-7ej5b?file=/example.tsx using next month button scroll to December 2022. While other months are rendered just fine, this one brakes layout
Screenshots
Additional context used beta 29 (as 30 doesn’t seemed to be published to npm at the moment of writing)
Issue Analytics
- State:
- Created 2 years ago
- Comments:8 (1 by maintainers)
Top Results From Across the Web
react-day-picker - Bountysource
Markup is broken with "showOutsideDays" and "fixedWeeks " options in December 2022 $ 0 ... using next month button scroll to December 2022....
Read more >DayPicker v8 - GitHub
React DayPicker is a customizable date picker component for React, with native TypeScript support. - DayPicker v8 · gpbl/react-day-picker.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@jodaka soon!
That’s the issue…but after review of https://github.com/gpbl/react-day-picker/issues/1222 and https://github.com/gpbl/react-day-picker/issues/1250, I now understand why the code above exists…since we iterate over an object whose keys are the week numbers from date-fns