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

Using modifierKey causes the mac pinch event to return #624

Closed
yjhtry opened this issue Sep 11, 2023 · 2 comments
Closed

Using modifierKey causes the mac pinch event to return #624

yjhtry opened this issue Sep 11, 2023 · 2 comments
Assignees

Comments

@yjhtry
Copy link

yjhtry commented Sep 11, 2023

Describe the bug

When I change this parameter to modifierKey: 'metaKey',, the native pinch event of the mac touchpad fails.

image

I found this code in the source code
image

Sandbox or Video

https://codesandbox.io/s/boring-paper-2zxyrw

Information:

  • Use Gesture version: 10.2.24

I want to keep the original events

@yjhtry yjhtry changed the title Using modifierKey causes the mac pin event to return Using modifierKey causes the mac pinch event to return Sep 11, 2023
@dbismut
Copy link
Collaborator

dbismut commented Sep 16, 2023

You can now use modifierKey: ['ctrlKey', 'metaKey'] in 10.3.0.

@dbismut dbismut closed this as completed Sep 16, 2023
@yjhtry
Copy link
Author

yjhtry commented Sep 16, 2023

You can now use modifierKey: ['ctrlKey', 'metaKey'] in 10.3.0.

Thank you so much.

Best Regards!

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