Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chrome 55 PointerEvents break panning #61

Open
ErikNijland opened this issue Jan 9, 2017 · 3 comments
Open

Chrome 55 PointerEvents break panning #61

ErikNijland opened this issue Jan 9, 2017 · 3 comments

Comments

@ErikNijland
Copy link

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: hammerjs/hammer.js#1056.

@ErikNijland ErikNijland changed the title Chrome 55 PointerEvents disable panning Chrome 55 PointerEvents break panning Jan 9, 2017
@tjgq
Copy link
Collaborator

tjgq commented Jan 17, 2017

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).

@ErikNijland
Copy link
Author

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."

@tjgq
Copy link
Collaborator

tjgq commented Feb 25, 2019

Since touchpads are an uncommon use case, this will likely not get fixed unless someone contributes a patch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants