bp74 / StageXL

A fast and universal 2D rendering engine for HTML5 and Dart.
http://www.stagexl.org
Other
881 stars 82 forks source link

Draggable elements scroll on iOS 11.3 #308

Closed AndrewLugg closed 5 years ago

AndrewLugg commented 6 years ago

Draggable elements in the canvas scroll the page on iOS 11.3, it is a known bug with webkit (https://bugs.webkit.org/show_bug.cgi?id=184250), there are some workarounds that can be put into the listeners, that can fix it. This occurs with many drag and drop libraries. This occurred with Shopify and they did a workaround (https://github.com/Shopify/draggable/issues/198), which I thought might be useful.

Are you able to put a workaround in?

bp74 commented 6 years ago

Thanks for the report, i have to take a closer look at this and will come back to you asap!

AndrewLugg commented 6 years ago

Any update on this?

AndrewLugg commented 6 years ago

Did you have a chance to look at this?

AndrewLugg commented 5 years ago

Turns out this was a caused by a combination of PolymerDart listeners being added early, and it caused StageXL listeners to be non-passive. As PolymerDart is no longer maintained I don't think this will be an issue going forward.