-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Description
Provide a general summary of the feature here
It would be nice to be able to configure which elements will not trigger the calendar date range to be focused and not only buttons
We find sometimes that the UX of the calendar is not ideal. When the user wants to select a date range that goes across months by clicking on the forward of backward button it is easy to click on the header and the daterange is selected, making the experience not ideal. Check video
🤔 Expected Behavior?
We should be able to configure which element will trigger the date range selection
😯 Current Behavior
Only buttons inside of the calendar element ref will be ignore and not trigger the date range selection
💁 Possible Solution
Maybe we could add an argument to the CalendarStateOption to ignore all clicks in elements that are inside of the calendar container element ref and not only buttons
🔦 Context
💻 Examples
No response
🧢 Your Company/Team
Walnut
🕷 Tracking Issue
There is not, since we worked this around