click date input randomly triggers outside click #2237
Labels
bug
Oh no, something's broken :-(
pull request wanted
This is a great way to contribute! Help us out :-D
react-dates version
"@types/react-dates": "21.8.1",
Describe the bug
Click start or end date inputs in range picker, it triggers click outside firstly which calls onFocusChange with null and moves on to call onClose, then range picker gets the focus on the target input and calls the onFocusChange with new focused input. This will make the picker panel flashing and impossible to capture the right event of picker is closing.
Source code (including props configuration)
Steps to reproduce the behavior:
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: