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

Pinch bug: after opening/closing context menu, pinching gesture can be fired with 1 finger #622

Open
2 tasks done
geoctrl opened this issue Sep 8, 2023 · 1 comment
Open
2 tasks done
Assignees
Labels
bug Something isn't working

Comments

@geoctrl
Copy link

geoctrl commented Sep 8, 2023

Describe the bug
On iphone/ipad chrome, press+hold on some content inside the pinchable area to pull up the context menu, and then tap out of the context menu.
you can now slide 1 finger up/down to pinch/zoom.

Sandbox or Video
https://codesandbox.io/s/use-gesture-broken-pinching-on-chrome-ios-after-image-context-menu-4xv6k6

Information:

  • Use Gesture version: 10.2.25
  • Device: ipad pro 2022 (also confirmed on iphone by a friend)
  • OS: iPadOS 16.6
  • Browser: chrome

Checklist:

  • I've read the documentation.
  • If this is an issue with drag, I've tried setting touch-action: none to the draggable element.
@dbismut
Copy link
Collaborator

dbismut commented Sep 16, 2023

Hey @geoctrl thanks for reporting this. I believe this is a known issue (maybe I should write it somewhere). As far as I remember, iOS doesn't seem to fire a pointerup / touchend event after press holding, so the lib is left in the blind :( Let's see how iOS 17 handles this and I'll see if I have time to tackle this.

@dbismut dbismut added the bug Something isn't working label Sep 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants