Shared Element Transitions with React Navigation
ฝัง
- เผยแพร่เมื่อ 27 ก.ค. 2020
- In this lesson we'll learn how to make UI elements transition with screen changes using React Navigation and Fluid Transitions.
www.reactnativeschool.com/sha... - วิทยาศาสตร์และเทคโนโลยี
Very nice, been wanting to try this out.
Awesome!!!!!
Nice🔥
Does it work with React Navigation v5?
I tried implementing in react native app with navigation version 4.1.0, it does give the transition as explained in the video but when I change the image height and width a jerk appears and is not smooth any suggestions?
Finally after struggling for a day, as explained in the video you need to multiply the width and height by a factor like 1.2 etc, and not hard code height and width. This is what worked for me.
Hey, great video! What version of React Navigation are you using?
It looks like he is using react navigation v 4.x . In v5.x, your import library should be '@react-navigation/stack'
This package hasn't been updated since 3yrs. I tried some alternative like react-navigation-shared-element but they don't work well with nested navigators
the same happens to me, for the momento I don't use any library :C
How to do this with RNRF?
The moment I replace createStackNavigator -> createFluidNavigator ... this error pops up: TypeError: undefined is not an object
Same Here Bro
does it work in react navigation v6?
Not sure, haven't tried it.
Does not work on @ react-navigation / native and yarn add @ react-navigation / stack????????????????????????????????????????????
Correct. This is using react-navigation v4 or v3.
You're that EVENING KID, aren't you?🤔🤔🤔