Replies: 2 comments 2 replies
-
Hm, I think this may come from the vendored library we're using to lock body scrolling. I've been meaning to replace that with our own implementation which hopefully can sidestep this. Locking body scrolling when a modal is open is particularly hard in mobile Safari. So let's hope it's not a hard requirement. |
Beta Was this translation helpful? Give feedback.
1 reply
-
@searls This should be fixed now in #215. If you get a moment, could I get you to try out that branch and validate the fix? Thanks! |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Try as I might, whenever I'm in mobile and showModal() is called the page is scrolled to the top as the dialog comes up and then scrolled back down when the dialog is dismissed.
This is pretty jarring, especially if you set
--hw-dialog-top-offset
to a larger value so that the dialog doesn't take up the entire screen (I've had customers complain that they get thrown off by how it takes over the screen).Any ideas?
Beta Was this translation helpful? Give feedback.
All reactions