You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not really a major issue if you're just dragging elements and not recording the positions anywhere... but we were having trouble returning the position of a dragged element on mobile devices and traced it back to getControlPosition()
We fixed this by changing:
var position = e.targetTouches && e.targetTouches[0] || e;
to
var position = e.changedTouches && e.changedTouches[0] || e;
targetTouches was returning empty for us in iOS and Android.
The text was updated successfully, but these errors were encountered:
Not really a major issue if you're just dragging elements and not recording the positions anywhere... but we were having trouble returning the position of a dragged element on mobile devices and traced it back to getControlPosition()
We fixed this by changing:
var position = e.targetTouches && e.targetTouches[0] || e;
to
var position = e.changedTouches && e.changedTouches[0] || e;
targetTouches was returning empty for us in iOS and Android.
The text was updated successfully, but these errors were encountered: