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
Description
When using the RelativeRangeDatepicker component with an Apply button, the calendar popup that appears during manual date entry creates UX issues:
The calendar overlay covers the Apply button, making it difficult to click
Pressing Enter does not close the calendar
Clicking outside closes the entire datepicker and discards user input
Users have to remember to click the Apply button that's hidden behind the calendar
Suggestions
Let's let user to select calendar's popup placement (or maybe always open calendar to the right of the control if Apply button is presented). It's the cheapest solution which improves UX a lot.
Enter key behavior:
If calendar is visible → close the calendar
If calendar is hidden → trigger Apply action
Outside click behavior:
If calendar is visible → close only the calendar (preserve input)
If calendar is hidden → close the entire datepicker