-
Notifications
You must be signed in to change notification settings - Fork 786
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
Drag and drop causes page to scroll on iOS 11.3 #631
Comments
This webkit issue includes links to some other drag-and-drop libraries' issues, which may be helpful. |
For anyone who may be having this issue, here are three ways other libraries have worked around it: Shopify/draggable#200 |
Can you try using v1.4.0-alpha.5 ( interact.addDocument(window.document, {
events: { passive: false },
}); |
|
Anyone faced this issue currently and know how to solve this? I dont's see passive attribute in docs for events |
I am facing it. Have you found a solution/hack/workaround? EDIT: In my case, I set touch-action:none on a ul element, but not on the li elements. After adding touch-action:none to all li elements, it worked in iOS Safari 15.something. |
Opening this issue related to #561
The page scrolls when the user drags an element on iOS 11.3. Please refer to the demos on interactjs.io for a reproduction.
Expected behavior
When touch-dragging the page does not scroll
Actual behavior
When touch-dragging the page scrolls
System configuration
interact.js version: 1.3.3
Browser name and version: Safari iOS 11.3, Chrome 66.0.3359.122 on iOS 11.3
Operating System: iOS 11.3
Tested this issue on a physical iPad (latest gen)
The text was updated successfully, but these errors were encountered: