Skip to content

[android] Reanimated LayoutAnimations break RN LayoutAnimation #3734

Open
@computerjazz

Description

Description

Including a single Reanimated layout animation breaks all further react-native layout animations on android. The Reanimated LayoutAnimation api is nice for some use cases, but React Native's own LayoutAnimation api is very convenient for others—for example, layout animations that don't need to be configured per-component. Ideally we'd be able to use both apis where convenient.

Steps to reproduce

  1. Open app on android
  2. Trigger a react-native layout animation (works)
  3. Trigger a reanimated layout animation (works)
  4. Trigger the same react-native layout animation (does not work)
screen-20221031-121907.mp4

Snack or a link to a repository

https://snack.expo.dev/@easydan/layoutanimation-broken?platform=android

Reanimated version

2.9.1, 2.11.0

React Native version

0.68.2, 0.69.5

Platforms

Android

JavaScript runtime

No response

Workflow

Expo managed workflow

Architecture

Paper (Old Architecture)

Build type

No response

Device

No response

Device model

Google Pixel 5a

Acknowledgements

Yes

Metadata

Assignees

No one assigned

    Labels

    Needs reviewIssue is ready to be reviewed by a maintainerPlatform: AndroidThis issue is specific to AndroidRepro providedA reproduction with a snippet of code, snack or repo is provided

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions