Replies: 1 comment
-
Hi, I have a related issue: #2388 Did you manage to find a fix? 🙏 |
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.
Uh oh!
There was an error while loading. Please reload this page.
-
Problem
Hey all, I've checked the solved/open issues for scrolling issues pertaining to using a Popover. None of those issues seemed to reveal a solution on how to mitigate the scrolling when a popover is opened. I have tried several different approaches from event listeners, stop propagation, useEffect to check if the popover is open, and then stop scrolling, etc. I've attached a video to demonstrate what is occurring.
I even tried upgrading tailwind to see if it would fix the issue but no luck. Can anyone think of a possible solution? Should I be using a different HeadlessUI component for this scenario?
Current Versions
Demo
Screen.Recording.2023-02-21.at.1.03.35.PM.mov
Sample Code
*Update
When I test this in iOS Simulator, the page doesn't scroll (as expected). This appears to occur in the browser when the viewport is at mobile size. Tested in Safari, Brave, Chrome, and Firefox.
Beta Was this translation helpful? Give feedback.
All reactions