-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Animated.View layout animations break with KeyboardAvoidingView #4815
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Same problem! |
same problem |
+1 |
Is there a workaround for this? I ran into the same problem |
However, a warning appears... Related? software-mansion/react-native-reanimated#4815
Same here, also have this warning when using LayoutAnimations with rn reanimated in //. |
For me, it's fixed in |
Same for me. |
I am still seeing this issue on IOS but not android. |
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. |
Uh oh!
There was an error while loading. Please reload this page.
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:
Simulator.Screen.Recording.-.iPhone.14.-.2023-07-25.at.14.12.43.mp4
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
The text was updated successfully, but these errors were encountered: