Skip to content
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

Latest iOS version (11.3) broke the component #26

Open
mortentz opened this issue Apr 13, 2018 · 2 comments
Open

Latest iOS version (11.3) broke the component #26

mortentz opened this issue Apr 13, 2018 · 2 comments

Comments

@mortentz
Copy link

It seems like they've introduced a bug that causes preventDefault() to not work properly, so on any page with scrolling the component simply doesn't work on iOS 11.3.

I assume the behavior is related to this bug: https://bugs.webkit.org/show_bug.cgi?id=184250

@Macil
Copy link
Collaborator

Macil commented Apr 13, 2018

Thanks for letting us know. What's the behavior you see? (Does react-draggable-list become entirely nonfunctional? Is it just the scrolling-while-reexpanding part that's broken? Is there an exception that gets thrown anywhere?)

@mortentz
Copy link
Author

mortentz commented Apr 13, 2018

No exception. The problem is that preventDefault no longer prevents scrolling on iOS 11.3, so on any page that requires scrolling, nothing happens if you try to drag an item. The item with the draghandle will get expanded, and then the page simply scrolls instead of the item being moved.

Edit:
Here's a live example by the way: https://beta.fotmob.com/wc2018/competition

Just open it on a device with iOS 11.3 and click "Let's go". The draggable list components on the following page are smooth as silk on pretty much any other device. Really nice stuff.

Another update:
https://bugs.webkit.org/show_bug.cgi?id=182521

Towards the bottom there, it seems like this is breaking pretty much all drag and drop components for React, and yet it seems to be considered a "feature". Fascinating.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants