-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Sibling Dialogs can't touch-scroll on mobile #3378
Comments
Facing the same issue, adding
to the |
We're also encountering this issue. This is a huge blocker for us. |
It seems that having multiple dialogs open simultaneously also causes issues with button functionality. Whenever a second dialog appears, the buttons stop responding on mobile (Chrome). Is there already a fix or workaround for this? |
I have a similar problem with @headlessui/vue, only on mobile, the second dialog is not accessible and the whole page becomes unreachable. |
Having the same issue. It's quite blocking since the dialog is completely not scrollable on mobile. Going to resort to stopPropagation workaround for now. |
Indeed this is a problem I am facing too on the Vue version. It also prevents you from clicking items inside. |
What package within Headless UI are you using?
@headlessui/react
What version of that package are you using?
2.1.2
What browser are you using?
Chrome (mobile devtools), Safari mobile
Reproduction URL
Run this with your mobile: https://1934554.playcode.io/.
The code is here: https://playcode.io/1934554
Describe your issue
The second (sibling) dialog can't properly touch-scroll on mobile. To reproduce:
One workaround is to nest the dialogs as we've been used to do. Of course, that may not be possible for all use cases.
Note that scrolling works just fine when using the mouse wheel, or by dragging the scrollbars on desktop, it's just on mobile.
The text was updated successfully, but these errors were encountered: