-
-
Notifications
You must be signed in to change notification settings - Fork 274
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
Double tap on phones not working properly. #453
Comments
Having same issue, double tap (click) is working very buggy on mobile, especially with the new 'toggle' mode. |
Exactly the same problem here. I've figured out some hack, just to make it work on mobile at all: <TransformWrapper doubleClick={{ mode: "reset", animationTime: 1, animationType: "linear" }}>...</TransformWrapper>
Pros: it seems pretty stable right now :) NOTE: |
Hi @penobit, @Print3M and @clintjansen, @prc5 has released a new version with a merged fix from me. It should fix your problems hopefully :) |
Describe the bug
When i double click on the component with PC/laptop, it will zoom in and out perfectly fine. But if i double tap on same component using a mobile phone (or mobile emulator in browser) it will not zoom in and out unless i hold the second tap.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The component should scale/zoom on double tap (without having to hold the second tap).
Desktop (please complete the following information):
Smartphone (please complete the following information):
The text was updated successfully, but these errors were encountered: