Open ErikNijland opened 7 years ago
Can you clarify what you mean by "touch input"? The demos work fine for me when panning around using the touchpad (I'm using Chrome 55 on a Macbook Pro).
The device used is a Wacom Bamboo (http://bamboo.wacom.com/).
Please see this demo: https://jsfiddle.net/q8dpdaL4/2/
The device is firing pointerdown events but not touchstart events. The click event happens when the pen is released from the touchpad (after moving).
Marzipano has code that says touch-action: none
.
Relevant read: https://developers.google.com/web/updates/2016/10/pointer-events#default_actions.
"Setting it to none on an element will disable all browser-defined actions started over that element."
Since touchpads are an uncommon use case, this will likely not get fixed unless someone contributes a patch.
The demo's on Marzipano.net like http://www.marzipano.net/demos/cube-single-res/index.html don't work on Chrome 55 on OSX with touch input.
This is probably caused by Chrome enabling PointerEvents (https://developer.mozilla.org/en/docs/Web/CSS/pointer-events). There already is a bug report at the Hammer.JS project: https://github.com/hammerjs/hammer.js/issues/1056.