CreateJS / EaselJS

The Easel Javascript library provides a full, hierarchical display list, a core interaction model, and helper classes to make working with the HTML5 Canvas element much easier.
http://createjs.com/
MIT License
8.11k stars 1.97k forks source link

Touch Screens with Firefox not working - legacy is false by default #1035

Closed danzen closed 4 years ago

danzen commented 4 years ago

Over the last while, I noticed touch dragging stopped working on my touch screen monitor. It worked on mobile touch screens so I assumed it was something with Windows and my touchscreen. Well, recently I noticed that it still worked in Chrome so I did some digging to see why it was not working in Firefox. It starts working again if I set dom.w3c_touch_events.legacy_apis.enabled to true in the about:config. So it seems there is something in touch that is considered "legacy" for Firefox and this legacy is no longer the default Firefox setting. Here is a page I was using to test in ZIM but I suspect that the issue is in the CreateJS touch code. https://zimjs.com/test/touch.html - I am using FireFox 69.0.1

danzen commented 4 years ago

Good! There is a solution here: https://github.com/CreateJS/EaselJS/issues/997#issuecomment-500463686

danzen commented 4 years ago

Well, we are perhaps not out of the water yet... https://github.com/CreateJS/EaselJS/issues/997#issuecomment-541758225 so re-opening this here. Note the original issue is Chrome based so that is why I started this one here which is Firefox based. But, whatever...

danzen commented 4 years ago

And hopefully we have it now: https://github.com/CreateJS/EaselJS/issues/997#issuecomment-547051940 with https://zimjs.org/cdn/1.2.3/createjs.js and https://zimjs.org/cdn/1.2.3/createjs_min.js