question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

v8. Markup is broken with "showOutsideDays" and "fixedWeeks" options in December 2022

See original GitHub issue

Describe 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 image

Additional context used beta 29 (as 30 doesn’t seemed to be published to npm at the moment of writing)

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:8 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
gpblcommented, Nov 9, 2021

@jodaka soon!

1reaction
tjfred35commented, Nov 2, 2021

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 Screen Shot 2021-11-02 at 7 55 36 AM

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found