Replies: 2 comments
|
Would 'useScreenAnimation' work for you? These aren't in the docs sorry about that (they need better work lol). Also, react-native-teleport is being worked on in the next release! So most of the manual stuff will just be handled by the lib. Should have more updates on my x account |
0 replies
|
Thanks for the pointer. Excited to see where this goes! |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hey! Love the library, the gesture engine and reveal transition are exactly what I need.
I'm trying to combine it with
react-native-teleportto build Instagram-style feed → reels transitions. The idea: your gestures handle the dismiss/open animation, teleport handles moving the actual video component between screens without unmounting it (so playback never interrupts).The missing piece: teleport's
Portalcomponent needs to know when to switchhostName(e.g. from"feed"to"overlay"to"reels"). That decision has to happen based on the transitionprogress, but right nowprogressis only accessible insidescreenStyleInterpolatoras a worklet, not from outside the navigator.Would it make sense to expose the active transition's
progressas a SharedValue that can be consumed outside, something like auseScreenTransitionProgress()hook? That way I could do:Happy to open a PR if this direction makes sense to you. What do you think?
All reactions