Skip to content
Discussion options

You must be logged in to vote

It looks like the issue is in only Chrome, where the focusout targetElement works differently from other browsers. Your app is set to hide the calendar according on focusout, and somehow you enter this bug.

Have you considered to use a "focus trap"? Here is an implementation working with chrome too:

https://codesandbox.io/s/react-day-picker-dialog-iyizc0

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by gpbl
Comment options

You must be logged in to vote
1 reply
@gpbl
Comment options

gpbl Feb 2, 2023
Maintainer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #1675 on February 02, 2023 20:25.