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

Rotating/onWheel function only works on mobile #671

Open
2 tasks
NedxLab opened this issue Jun 24, 2024 · 0 comments
Open
2 tasks

Rotating/onWheel function only works on mobile #671

NedxLab opened this issue Jun 24, 2024 · 0 comments
Assignees

Comments

@NedxLab
Copy link

NedxLab commented Jun 24, 2024

Describe the bug

when i try to rotate the element on a mobile phone it works but on desktop it doesn't, i can only zoom in or out. the onWheel function is called whenever i zoom

Sandbox or Video

[If applicable, please provide a minimal reproduction sandbox on code sandbox. Or a video / screenshots that could help.]
this is a sandbox reference (https://codesandbox.io/p/sandbox/vibrant-rubin-zsyyz2?file=%2Fsrc%2FApp.tsx)

Information:

  • Use Gesture version: [e.g. v10.2.10]
  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]

Checklist:

  • I've read the documentation.
  • If this is an issue with drag, I've tried setting touch-action: none to the draggable element.
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