-
-
Notifications
You must be signed in to change notification settings - Fork 760
Closed
Description
<DayPicker onBlur={} />
I have a use-case for there where the DayPicker appears as a popover.
ATM, I show/hide the datepicker through a state (active when the input is focused; inactive on blur). However, clicking the DayPicker div changes the focus from the input to the DayPicker.
I have no means of checking if the user has focused away from the DayPicker.
- If there's blur, there's usually focus, but I'm not sure if there's any relevance.
- Or we could just use the spread operator so all other props are accepted (
<DayPicker onDayClick={...} {...other} />).
I'm willing to send a PR, just need some approval first.
Metadata
Metadata
Assignees
Labels
No labels