Answer the question
In order to leave comments, you need to log in
How to fix scroll in navigation bar area in ios safari?
A new twist on safari for ios.
I block all elements on the page with touchmove, via preventDefault() or returnFalse;
Everything is ok everywhere, but in safari at the bottom of the screen, where the navigation bar pops out, when you try to scroll the page in that place when the navigation bar is hidden, it will quietly scroll, despite all the prohibitions.
How to bypass it?
Here is a demo, open, respectively, only under ios safari. At first, the scroll works, it blocks after 3 seconds. If at the time of blocking the navigation bar is hidden, then touching its area, you can scroll the page.
sanex3339.github.io/safariWTFISGOINGON
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question