body-scroll-lock icon indicating copy to clipboard operation
body-scroll-lock copied to clipboard

Doesn't appear to work on iOS when scrolling with two fingers

Open haustraliaer opened this issue 6 years ago • 4 comments

Works fine for 1 finger scroll, but two fingers still scrolls - iOS 12.4.1

haustraliaer avatar Sep 11 '19 04:09 haustraliaer

I experienced the same Issue

muhammadhaekal avatar Sep 11 '19 07:09 muhammadhaekal

Out of curiosity who scrolls with 2 fingers?

ahmadalfy avatar Dec 06 '19 09:12 ahmadalfy

I think it interprets as zoom-out or zoom-in and restores the scroll bars. If you do a zoom out or a zoom-in it restores the scroll bars.

TiagoSousa26 avatar Mar 11 '20 18:03 TiagoSousa26

@TiagoSousa26 is correct. Since iOS 10, Safari prevents the webpage from blocking zooming, for "accessibility".

There is a way to block zoom in safari according to this stack overflow answer: https://stackoverflow.com/a/38573198. I have not tried it.

RealDyllon avatar Mar 18 '20 07:03 RealDyllon