-
-
Notifications
You must be signed in to change notification settings - Fork 761
Closed
Description
I have a caption element where I've converted the month and year to dropdowns, so users can quickly move across years/decades as needed.
However, the latest version re-applies focus to the input element if clicking inside the container - which causes the dropdown to briefly open and then immediately close. The offending lines:
react-day-picker/src/DayPickerInput.js
Lines 301 to 303 in d1a15af
if (this.clickedInside) { | |
this.blurTimeout = setTimeout(() => this.input.focus(), 0); | |
} |
Is there any way to disable this behaviour?
Metadata
Metadata
Assignees
Labels
No labels