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

Rotation via touch input doesn't work on chrome or firefox #565

Open
mightym opened this issue Sep 24, 2024 · 3 comments
Open

Rotation via touch input doesn't work on chrome or firefox #565

mightym opened this issue Sep 24, 2024 · 3 comments

Comments

@mightym
Copy link

mightym commented Sep 24, 2024

Describe the bug
Google Chrome Version 128.0.6613.138 (Offizieller Build) (arm64)
Firefox Version 130.0.1 (64-Bit)

The rotation feature via touch input doesn't work for me on chrome and firefox on MacOs.
Zooming via pinch works everywhere for me.
Zooming and rotating works for me only in safari.

To Reproduce
Steps to reproduce the behavior:

Use Chrome on MacOs (latest version) and try to rotate your example https://codesandbox.io/p/sandbox/y09komm059?file=%2Fsrc%2Findex.js%3A81%2C15-81%2C45

Expected behavior
I expected that the rotation would work on touch inputs

@ValentinH
Copy link
Owner

When talking about "touch input" on MacOS, are you referring to the gestures on the trackpad?

@mightym
Copy link
Author

mightym commented Sep 24, 2024

@ValentinH Sorry yes. The pinch gesture works to zoom in. But twisting your fingers to rotate the image works for me only on safari.

@ValentinH
Copy link
Owner

Unfortunately this is because the trackpad gestures are fired using a non-standard gesturestart event that is only implemented on Apple browsers.

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

No branches or pull requests

2 participants