-
-
Notifications
You must be signed in to change notification settings - Fork 741
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problems with DayPicker Overlay focus and hiding #926
Comments
@zovcharov seems like UX issue, can suggest only workaround like this
|
Having same issue. |
The problem can also be if you have more than one DatePicker on the page. To avoid this issue you can try to create custom ref for each one of the DatePicker instance. And also you can try something like this.
It`s possible to use this way if you have two or more DatePickers on the page. |
@zovcharov already using similar solution, but there is an issue with relying on Btw, instead of relying on |
@Kamilius can you please share your custom hook solution in detail? |
Hi
When I am using day picker with custom input field, there is one problem.
After focusing on DayPickerOverlay, click on any place on the screen calls only onOverlayFocus handler, not onBlur
That`s why after overlay had been focused once I cant close it by click on some other area on the screen.
What can I do for solving this problem?
Thanks
The text was updated successfully, but these errors were encountered: