-
Notifications
You must be signed in to change notification settings - Fork 335
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Body scroll is not blocked on IOs #206
Comments
Hi, @alexanderKhvostov you have a look at this pull requests and see if it works for you: |
I experience the same issue at least on iOS 12 😕 The PR #207 is not helpful, settings |
Hi @horaklukas, Can you please elaborate how did you test PR #207 ? Did you inspect the dom to make sure |
Hi @jvitela In some cases, the scroll has arrived at the bottom of the scroll element area. If there is a scroll in the content area, the scroll of the content moves.
|
@jvitela unfortunately this doesn't help. Since OP haven't provided much details I'd like to elaborate on when this bug might be seen.
If these two conditions are met and user starts scrolling, it will happen. If finger is being put on any other place of the screen or when the toolbar is shown, everything works as expected. |
@JonesTwink hi,did you solve it? |
Hi @chendong-xie and @JonesTwink, Yes, my last change fixes this issue. Setting Please do test the latest changes of the feature branch and confirm if it also works for you. The examples are updated so you don't need to rebuild it yourself. |
hi @jvitela this way looks ok, thank you for your reply. |
hi @chendong-xie,
That question should be answered by @willmcpo |
if you solving it with |
yes, i've tried 4.0.0-beta version and scroll restoration does not work there |
@n19htz Could you please provide a minimal reproducible example? or in case it happens with the included examples a video showing the issue would be great and please indicate the browser and OS versions. |
iOS 14.5 pro_blur-2lsb0vqgm6.mp4 |
I have a quetion, will this fix also fix the problem with jumping layout when clicking on inputs inside modals? I know that position: fixed casues the bug it happens only on scrollable elements. To fix my case i had to completely hide the page contents and display only a modal. Feels like it could be part of this bug. Example video: Screen.Recording.2021-07-29.at.12.10.38.mov |
const { scrollY, scrollX, innerHeight } = window;
document.body.style.position = 'fixed';
document.body.style.top = -scrollY; //Mabye there and next line should be add + "px" in the end.
document.body.style.left = -scrollX; |
Hi @Trendymen and @pawelbujna, Please check #229 |
They stopped the repairs. I had to do it myself, in the same way, with a new version of typeScript. And fix these problems for everyone to use.
repair Changelog |
Hi, sorry but it doesn't work :(
I still can sometime scroll body. Maybe Apple again has changed something?
Iphone 11pro IOs 13.6.
https://www.loom.com/share/9fe89fe098e64e64a26d5533f9921f29
The text was updated successfully, but these errors were encountered: