react-native-gifted-chat icon indicating copy to clipboard operation
react-native-gifted-chat copied to clipboard

New app with expo sdk v49 gives Layout Animation error

Open ansh opened this issue 1 year ago • 5 comments
trafficstars

Issue Description

I copied the example code in the README.md exactly and ended up with this issue

Steps to Reproduce / Code Snippets

  1. Copy the code from the README.md into a new expo router project
  2. Click on the TextInput component at the bottom of the screen
  3. It gives these animation errors
Overriding previous layout animation with new one
before the first began:
<ABI49_0_ORCTLayoutAnimationGroup:
0x600001658cc0; creatingLayoutAnimation: (null);
updatingLayoutAnimation:
<ABI49_0_ORCTLayoutAnimation: 0x60000573b4c0;
duration: 0.250000; delay: 0.000000; property: (null);
spring Damping: 0.000000; initialVelocity: 0.000000;
animationType: 5;>; deletingLayoutAnimation: (null) >
-> (null).

Expected Results

It works without any errors

Additional Information

  • Nodejs version: 18.18.2
  • React version: 18.2.0
  • React Native version: 0.72.6
  • react-native-gifted-chat version: 2.4.0
  • Platform(s) (iOS, Android, or both?): iOS
  • TypeScript version: 5.1.3

ansh avatar Dec 09 '23 15:12 ansh

this issue belong to LayoutAnimation API, just search inside project about LayoutAnimation and comment it first

fukemy avatar Dec 13 '23 02:12 fukemy

it's also just a warning, not cause crash. Use LogBox.ignoreAllLog() to avoid it

fukemy avatar Dec 13 '23 02:12 fukemy

I'm currently facing the same issue. the makes the keyboard animation lag @ansh have you found a work around

Code-Victor avatar Jan 24 '24 13:01 Code-Victor

@Code-Victor No it's still happening. No response from maintainers unfortunately...

ansh avatar Jan 24 '24 16:01 ansh

Same issue here :(

jossalgon avatar Mar 18 '24 10:03 jossalgon