HomePhabricator
Diffusion Comm 8929dfdce8c5

[native] Disable React Native LayoutAnimation on Android

Description

[native] Disable React Native LayoutAnimation on Android

Summary:
This has been experimental forever and never fully shipped. I suspect that it's causing ENG-7774, but unfortunately I have no way to prove it because I don't have a repro.

We use LayoutAnimation in three places:

  1. The calendar tab
  2. Animating messages when they're focused
  3. Animating the content window along with the keyboard when the keyboard appears or disappears (in KeyboardAvoidingView). In my experience, this has never worked on Android. I think that's because easing is never set in keyboard events

Test Plan: To be honest, I don't have a good test plan here because I've never been able to reproduce the original issue. While I don't have a good way to test, I think it's better to proceed with this, as the issue in question is pretty bad, and there isn't much cost here, since there aren't that many animations that rely on LayoutAnimation.

Reviewers: ginsu

Reviewed By: ginsu

Subscribers: tomek

Differential Revision: https://phab.comm.dev/D11994

Details

Provenance
ashoatAuthored on May 10 2024, 9:33 AM
Reviewer
ginsu
Differential Revision
D11994: [native] Disable React Native LayoutAnimation on Android
Parents
rCOMMef0d1382b0b1: [commtest] Add test for device list signing
Branches
Unknown
Tags
Unknown