Instagram Stickers Rotation and Scaling Multiple Elements #3233
Unanswered
TomAtterton
asked this question in
Q&A
Replies: 1 comment 1 reply
-
Someone did ask for the same in my library's issues, give it a look and see if it works for you Glazzes/react-native-zoom-toolkit#72 (comment) |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I’m building something similar to Instagram or TikTok stories where users can add, scale, and rotate elements on the screen. Currently, I’m using hitSlop manipulation to handle active panning states, but this feels clunky and not exact enough.
From observing Instagram/TikTok, it seems they use the entire screen as a gesture recognizer. For example, you can pinch or rotate from anywhere, and the nearest/selected element responds to that gesture.
How can I implement something similar? Specifically:
1. Detect and manipulate a specific element while using gestures across the entire screen.
2. Support pinch-to-zoom and rotation gestures seamlessly.
I’d love to hear ideas or approaches to make this work more efficiently!
https://www.youtube.com/watch?v=QaS81gjrlTA Somebody doing something similar a couple years ago
Beta Was this translation helpful? Give feedback.
All reactions