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
On Edge and IE touchscreen, we need a way that the canvas can be swiped to move the page and yet, the objects on the canvas can be dragged as expected. This is usually done with allowDefault true on the createjs.Touch.enable() - the third parameter. And then in Chrome and FF, we can swap this as we try and drag something. But in Edge and IE, the allowDefault sets the touchAction (and msTouchAction) style of the canvas to none (so it will swipe the canvas as a picture?) but this stops interactivity on the canvas and I can't figure out a way to get it back in one dragging motion.
Note - for Chrome to interact properly with touch screens on Edge see this issue: #997 so we are testing with a modified CreateJS - but the same issue is there with the old CreateJS.
Also note that in Firefox... our modified CreateJS as per issue 997 does not seem to let the canvas drag even with the allowDefault - so not sure if something got messed up there - it works fine in the ZIM test on Firefox https://zimjs.com/explore/zimtouch.html and yet, the same CreateJS is being called.
Safari had an issue a while back... #898 not testing that here in this case.
The text was updated successfully, but these errors were encountered:
This MS Edge issue really spoiling drag and drop in a couple of educational games of mine. I'd really like to implement more drag and drop games as it's such a natural gesture for young children on touch screens, but this issue is putting me off.
On Edge and IE touchscreen, we need a way that the canvas can be swiped to move the page and yet, the objects on the canvas can be dragged as expected. This is usually done with allowDefault true on the createjs.Touch.enable() - the third parameter. And then in Chrome and FF, we can swap this as we try and drag something. But in Edge and IE, the allowDefault sets the touchAction (and msTouchAction) style of the canvas to none (so it will swipe the canvas as a picture?) but this stops interactivity on the canvas and I can't figure out a way to get it back in one dragging motion.
Here is a CreateJS test: https://zimjs.com/explore/createjstouch.html
Note - for Chrome to interact properly with touch screens on Edge see this issue: #997 so we are testing with a modified CreateJS - but the same issue is there with the old CreateJS.
Also note that in Firefox... our modified CreateJS as per issue 997 does not seem to let the canvas drag even with the allowDefault - so not sure if something got messed up there - it works fine in the ZIM test on Firefox https://zimjs.com/explore/zimtouch.html and yet, the same CreateJS is being called.
Safari had an issue a while back... #898 not testing that here in this case.
The text was updated successfully, but these errors were encountered: