react-datepicker
react-datepicker copied to clipboard
Week number is highlighted when selecting the first day of the week
Describe the bug Week number gets highlighted when selecting the first day of the week, but not when selecting any other day of the week.
To Reproduce
-
Click on the first day of the week.
-
Click on any other day of the week (same or other)
Expected behavior Week number gets highlighted for both cases or only when a range is selected - I am not 100% sure on what is the agreed behaviour, but current one seemed very odd to me.
Desktop
- OS: Windows 10
- Browser: Chrome
- Version: 121.0.6167.139 (Official Build) (64-bit)
Where to test?
Codepen: https://codepen.io/MaertHaekkinen/pen/ExMQrMq
OR
https://reactdatepicker.com/ - "Display Week Numbers"
Hi, I will take this issue.