Dialog won't unmount when dismissed while mobile keyboard is open #2031
Unanswered
ericwang401
asked this question in
Help
Replies: 1 comment
-
Turns out this is a bug. It was answered here https://stackoverflow.com/questions/74497444/dialog-wont-unmount-when-dismissed-while-mobile-keyboard-is-open/74497766#74497766 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hey everyone 👋,
I'm trying to make a dialog using the Headless UI Dialog component and the Transition component so that the dialog looks like this on desktop:

And like this on mobile:

However, I found out that the dialog component doesn't unmount in this specific scenario that is VERY easy to trigger
Video demonstration:
https://youtube.com/shorts/Qhr1_azemaM?feature=share
Codesandbox link
The actual result I want is when the user dismisses while the virtual keyboard is open, the dialog should transition out of view and unmount so that underlying elements can be interacted with.
Beta Was this translation helpful? Give feedback.
All reactions