You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When using a datepicker with both showWeekPicker and showWeekNumbers enabled, the week number buttons remain interactive (clickable) even if the corresponding weeks are disabled due to excludeDateIntervals or filterDate conditions (days are disabled). This leads to unexpected behavior where users can click on weeks that should not be accessible (week doesn't change, datepicker just closing). All week buttons have react-datepicker__week-number react-datepicker__week-number--clickable class name.
Describe the bug
When using a datepicker with both
showWeekPicker
andshowWeekNumbers
enabled, the week number buttons remain interactive (clickable) even if the corresponding weeks are disabled due toexcludeDateIntervals
orfilterDate
conditions (days are disabled). This leads to unexpected behavior where users can click on weeks that should not be accessible (week doesn't change, datepicker just closing). All week buttons havereact-datepicker__week-number react-datepicker__week-number--clickable
class name.To Reproduce
Steps to reproduce the behavior:
Expected behavior
Week number buttons should be disabled.
Screenshots
The text was updated successfully, but these errors were encountered: