react-day-picker
react-day-picker copied to clipboard
DayPicker is a customizable date picker component for React. Add date pickers, calendars, and date inputs to your web applications.
### Context - If some other dependency has a similar implementation of useId that only returns an incremented number, these IDs can conflict. - Number-only ID-s are hard to read...
### Bug description Thank you very much for this lovely day picker 👍 In https://github.com/gpbl/react-day-picker/issues/1279 would it be possible to take `weekStartsOn` into consideration? I am starting the week on...
### Bug description When google translater is run on a webpage with a foreign language, all the content is translated correctly and the layout of the page is maintained. But...
### Bug description When passing a custom caption element, it probably manages an initial state for the navigation. As a result, the Date Picker will rerender after navigation and the...
Prevent focus from moving beyond toDate and fromDate to fix #1320
### Bug description CssSyntax error: Selector ":root" is not pure (pure selectors must contain at least one local class or id) (1:1) ``` 1 | :root { | ^ 2...
In the website we use Sandpack to render DayPicker because Docusaurus [overrides](https://github.com/facebook/docusaurus/issues/6032) the default style from DayPicker. A workaround for this solution is to use shadow DOM (e.g. via https://www.npmjs.com/package/react-shadow)...
### Bug description When navigating the calendar with the keyboard the focus breaks when the day to focus is disabled ### To reproduce [Code sandbox: https://codesandbox.io/s/react-day-picker-8-vl4ry](https://codesandbox.io/s/react-day-picker-8-forked-yk2ez?file=/src/App.tsx) #### Steps Focus the...
### Relevant Issue #374 ### Description When setting the `numberOfMonths` to a higher value like 10, the performance when selecting dates is really slow, it takes a lot slower than...
### Bug description The hover and clickable area for the previous month button (and in dropdown mode, the month selector) extends to the entire calendar canvas, i.e. `` when used...