Skip to content

How to zoom to center on any object in the canvas with onPinch #502

Answered by dbismut
Rajdeepc asked this question in Q&A
Discussion options

You must be logged in to vote

I'm not sure where you got that sandbox link but please refer to the GitHub repo for the source code of the latest sandbox:
https://codesandbox.io/s/github/pmndrs/use-gesture/tree/main/demo/src/sandboxes/card-zoom

The one you linked is from an old version of the lib

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@Rajdeepc
Comment options

@Rajdeepc
Comment options

@dbismut
Comment options

@Rajdeepc
Comment options

Answer selected by Rajdeepc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants