DayPickerInput doesn't close after changing month when using a custom component #1158
Replies: 7 comments
-
If you focus back to the input, then you can click away to close the overlay, still a bug tho... |
Beta Was this translation helpful? Give feedback.
-
Issue persists. Would appreciate any input on a fix. |
Beta Was this translation helpful? Give feedback.
-
Hi! I faced this bug, will be any fixes for custom input? |
Beta Was this translation helpful? Give feedback.
-
The creator does not seem to be serious about fundamental issues in the current version of the package. @gpbl? |
Beta Was this translation helpful? Give feedback.
-
I'm also facing this issue, any word on a fix update? |
Beta Was this translation helpful? Give feedback.
-
I'd help here, but I can't reproduce on my version of chrome or firefox. |
Beta Was this translation helpful? Give feedback.
-
I finally figured out the solution. I used |
Beta Was this translation helpful? Give feedback.
-
Describe the bug
When using a DayPickerInput, if you use a custom component like this
If you change the month and click outside the overlay, the overlay won't close if you click outside the overlay and stay opened
To Reproduce
Add a custom component as the example in the doc
https://codesandbox.io/s/react-day-picker-base-ym4h5
Expected behavior
The same as without a custom component
Desktop (please complete the following information):
Beta Was this translation helpful? Give feedback.
All reactions