Comments (11)
It works until someone does a two finger scroll
from body-scroll-lock.
There was a recent change that made the assumption that if there are 2 fingers used, take it as if it was a pinching gesture. See #35.
Can't cater for all unfortunately - perhaps we should allow the pinching/zoom functionality opt-in ? it's not that, disabling that affects it, but still cannot scroll with 2 fingers...
I'd be happy to review a PR for this - won't be able to assist with a fix until a little later.
from body-scroll-lock.
If anyone is able to submit a PR, that'd be great. Sorry I can't get to this in the short term (babies kids etc). 😦
from body-scroll-lock.
I don't have issues on my iPhone X with iOS 12..
from body-scroll-lock.
what is the error? Screenshots?
from body-scroll-lock.
I also couldn't reproduce that one on 📱 with latest iOS.
from body-scroll-lock.
Works for me too on iphone X with IOS12
from body-scroll-lock.
me to , but no errors
from body-scroll-lock.
For those experiencing this problem, it would be helpful if I could get some assistance in diagnosing the issue as I don't currently have an iOS 12 device that is having this issue.
from body-scroll-lock.
Yes, there is a two finger scroll issue, for iOS, but it's also for 11.x versions. Not only for 12. Simply use two fingers and locked content will be all over the place.
from body-scroll-lock.
That might be it. I think that making this as an opt-in option would be great solution, gonna try to cook something.
from body-scroll-lock.
Related Issues (20)
- Header Logo doesn't change to stacked version on Mobile
- Scroll bar width calculated incorrectly HOT 3
- Enabling and clearing body scroll don't work on iOS 15.1
- The scroll lock does not work if you swipe with two fingers at the same time
- Still able to scroll HOT 5
- Doesn't seem to lock HTML tag scrolling HOT 2
- iOS Devices: "restorePositionSetting" can run before "setPositionFixed"
- Inset of iOS devices is scrollable on modals HOT 1
- The content is twitching 15px from the right on MacOS Safari HOT 3
- Black bar at bottom when safari toolbar is hidden on iOS 15
- The package is not tree-shakeable due to side-effects
- Is this package dead/abandoned? HOT 17
- Define a custom base element (not body) HOT 1
- iOS 16 Safari has width/size issues with wide content HOT 2
- This fork from vercel seems to fix some issues HOT 1
- Add example using React hooks HOT 1
- On IOS disableBodyScroll() makes element.scrollIntoView() not working HOT 1
- ESM build broken, causes scroll-to-top on iOS HOT 3
- Using logical css property instead of padding-right
- scroll reset happens when use disableBodyScroll HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from body-scroll-lock.