-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Scrolling occurs when dragging in iOS 11.3 #198
Comments
Thanks for reporting @matstc ! We have fixes for this issue in the
To fix the weird state of both scrolling and dragging, we need to check the From the spec:
We are planning on releasing this with the new beta real soon! Hope this helps |
Thanks a lot @tsov. Very useful. I'm happy to test this again as soon as the beta is available. |
No problem @matstc, will let you know once it's available 👍I'll keep this issue open until then |
Hi there, we are experiencing the same issue for I think you will find this is causing you grief: There is an underlying webkit bug that I have raised. You can also have a look at the PR relating to the issue I found for a temporary work around |
@alexreardon thanks for your comment! That's annoying, I guess I didn't realize this was iOS 11.3 specific, as we were experiencing some issues on touch anyway. I was getting the same behaviour on Chrome (65.0.3325.181) on Mac (10.13.3) in device mode with touch events and got worried that webkit will adopt it in the future. For now we'll implement a similar workaround and follow and support your webkit bug report 👍I am not sure how intentional this change was, because I could imagine it to relate to more performance improvements for scrolling. Nonetheless, this probably broke pretty much any dnd library that supports touch out there 😬 I hope we can trigger a discussion around this in the webkit bug report, because the current workaround is a no-no if we want to support dragging between iframes. |
@matstc This should be fixed in the |
Thanks @tsov. I tested this in Safari on iOS 11.3 and it's working nicely. |
Since the iOS upgrade to 11.3, both Chrome and Safari scroll instead of dragging. The result is very similar to the video example from a previous bug. However, in my case, dragging is never possible without scrolling too.
Both Chrome and Safari worked well with iOS 11.2.
-webkit-overflow-scrolling
but then the scrolling problem re-appeared. I also tried to modify the draggable code and use{passive:false}
as options toaddEventListener
when registering the touch events but that did not fix it.The text was updated successfully, but these errors were encountered: