-
Notifications
You must be signed in to change notification settings - Fork 153
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
Focusing inputs in modal on IOS jumps around #154
Comments
Related webkit issue: https://bugs.webkit.org/show_bug.cgi?id=158276 |
I have the same issue, #120, just updated my tiny example repo. Would love to know a way around this issue. |
I just spent my morning on this, reproducing the issue with a MCVE based on the "Centered Scrolling" example. It seems that changing |
I magically ended up back here after hitting this again-- @cspanring, I think that's right, similar to how it's described in this stackoverflow. In my case, I needed to apply
(And just for the heck of it)
At this point, you go back to your mobile browser and discover that many actually ignore overflow descriptors on body, so you can add overflow-x: hidden & position: fixed to the Child element...
I know this is pretty off-topic from the original post, but after implementing this it feels like a decent amount of effort just to get to a standard place for mobile. I think it could be nice to see a |
We are having an issue where, on IOS, when switching between inputs (on the Centered Scrolling demo version) causes the screen to jerk/bounce/refocus everytime. From what I could see it seems to be a webkit issue related to fixed elements on ios - is anyone else having the same problem, and is there a possible solution if so?
I created a demo app here: https://github.com/linearza/modal-dialog
The text was updated successfully, but these errors were encountered: