Open joeporpeglia opened 1 year ago
Same problem!
same problem
+1
Is there a workaround for this? I ran into the same problem
Same here, also have this warning when using LayoutAnimations with rn reanimated in //.
For me, it's fixed in 3.5.4
version. Thanks.
For me, it's fixed in
3.5.4
version. Thanks.
Same for me.
I am still seeing this issue on IOS but not android.
Receiving the same error using KeyboardAvoidingView with Expo SDK49
Receiving the same error using KeyboardAvoidingView with Expo SDK49
Did you find any solution?
I think the real problem is only with react-native's KeyboardAvoidingView on IOS. This component plays an animation and there is no way to turn it off The warning in the console even happens when using KeyboardAvoidingView with LayoutAnimation
Description
There seems to be some sort of conflict between reanimated and react-native layout animations. Any reanimated views that trigger a layout animation on text input focus/blur look buggy when a
KeyboardAvoidingView
is also rendered. The following console warning is also printed when this happens:Overriding previous layout animation with new one before the first began
.Related:
KeyboardAvoidingView
callsLayoutAnimation.configureNext(...)
before adjusting the keyboard offset. https://github.com/facebook/react-native/blob/e64756ae5bb5c0607a4d97a134620fafcb132b3b/packages/react-native/Libraries/Components/Keyboard/KeyboardAvoidingView.js#L146Example video:
https://github.com/software-mansion/react-native-reanimated/assets/1399969/63272438-9903-4836-b742-3b84fb255b64
Steps to reproduce
SET_TRUE_TO_REPRO
variable totrue
Snack or a link to a repository
https://github.com/joeporpeglia/repro-reanimated-layout-animations
Reanimated version
3.3.0
React Native version
0.72.3
Platforms
iOS
JavaScript runtime
Hermes
Workflow
Expo managed workflow
Architecture
Paper (Old Architecture)
Build type
Debug mode
Device
iOS simulator
Device model
iPhone 14
Acknowledgements
Yes