Problems with DayPicker Overlay focus and hiding
See original GitHub issueHi 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
Issue Analytics
- State:
- Created 4 years ago
- Reactions:3
- Comments:5
Top Results From Across the Web
Solved: React-day-picker Daypicker Input loses focus when ...
My problem was in losing focus from the picker input when opening or clicking on the custom overlay, and the 'keepFocus' prop is...
Read more >gpbl/react-day-picker - Gitter
im trying to display events on the day calendar, but i am running into the following difficulty. If I move over a month,...
Read more >DayPickerInput API – react-day-picker docs
Hide the overlay when the user clicks on a day cell. ... Keep focus on the input field after switching the focus into...
Read more >Tooltip | Components - BootstrapVue
Triggering tooltips on hidden elements will not work. Specify container as null (default, appends to <body> ) to avoid rendering problems in more...
Read more >Date Picker | Components | Vaadin Docs
The overlay opens when the field is clicked and/or any input is entered when the field is focused. Common Input Field Features. Date...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@zovcharov seems like UX issue, can suggest only workaround like this you need just createRef on DayPickerInput
@Kamilius can you please share your custom hook solution in detail?