-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Closed as not planned
Labels
Description
Describe the bug
The class .react-datepicker__day--keyboard-selected is applied to a selected day, regardless of month. This makes it so that all days gets the class .react-datepicker__day--in-selecting-range.
To Reproduce
Steps to reproduce the behavior:
- Go to Datepicker examples
- Find the first or any Date Range example
- Select a range of say a week in the current month.
- Go back or forward one or several months
Expected behavior
Days that are not supposed to be highlighted (days outside of the range) will be highlighted. if March 13th is selected, then if you start hovering around any other month, the 13th that month will have the css class .react-datepicker__day--keyboard-selected, making all of the days between have the in-selecting-range class that enables the highlight
Screenshots
Desktop (please complete the following information):
-
Browser Mozilla Firefox
-
Device: Thinkpad laptop
-
OS: Windows 11
gillesbouvier-qz


