Open
Description
🐛 Bug report
When setting a datepicker with some dates unavailable (using isDateUnavailable
), the months, that have some of those unavailable dates, in the month view does not always trigger the selection when pressing "Enter" (though it works fine on click).
This is not always the case, it seems to behave differently regarding of which days are unavailables (sometime, it needs multiples "Enter" press, sometimes it never trigger).
💥 Steps to reproduce
- Go to https://stackblitz.com/edit/nkcuir5b?file=src%2FApp.tsx
- Click on the calendar icon to open the picker
- Click on the view selector to reach the month view
- Using keyboard arrows, go to
May
- Press
Enter
- Nothing happens
💻 Link to reproduction
CodeSandbox reproduction: https://stackblitz.com/edit/nkcuir5b?file=src%2FApp.tsx
🧐 Expected behavior
As not all dates of the month are unavailable, it should be possible to select it normally (as it is by clicking) using keyboard, regarding of which dates are unavailable.
🌍 System information
Software | Version(s) |
---|---|
Ark Version | 5.11.0 |
Zag Version | 1.14.0 |
Browser | All |
Operating System | Mac |
Metadata
Metadata
Assignees
Labels
No labels