Help: how to simulate drag-motion like browser while zooming #573
Unanswered
meotimdihia
asked this question in
Q&A
Replies: 1 comment 4 replies
-
@dbismut Sorry about tagging you. But do you know how to fix this problem? |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This is my example while zooming an image by double tapping or pinching:
https://codesandbox.io/s/billowing-star-9wk7y3
I copied from your example (gesture-card-zoom): https://codesandbox.io/s/github/pmndrs/use-gesture/tree/main/demo/src/sandboxes/card-zoom
But motion while zooming by dragging is very slow. Please help me how to do it so smoothly + fast like when you zoom a website and drag it around, for example: go to https://google.com on your phone, zoom it and drag.
our example:
RPReplay_Final1673179991.mov
This is how the browser works:
RPReplay_Final1673179799.mov
Beta Was this translation helpful? Give feedback.
All reactions