Skip to content

Fix jumpy web animation for modal backdrop#6673

Merged
gaearon merged 1 commit into
mainfrom
fix-animation-jump
Nov 23, 2024
Merged

Fix jumpy web animation for modal backdrop#6673
gaearon merged 1 commit into
mainfrom
fix-animation-jump

Conversation

@gaearon
Copy link
Copy Markdown
Contributor

@gaearon gaearon commented Nov 23, 2024

We need to stop trying to use Reanimated layout and enter/exit animations on web. They just don't work well. There's no point to trying. We keep getting affected by their glitches and there's no benefit because CSS works much better. Let's avoid them (on web) going forward.

I reused an existing animation name.

Test Plan

Modal backdrops are no longer glitching on web.

lite.mov
dark.mov
dim.mov

@arcalinea arcalinea temporarily deployed to fix-animation-jump - social-app PR #6673 November 23, 2024 21:32 — with Render Destroyed
@gaearon gaearon merged commit aa58216 into main Nov 23, 2024
@gaearon gaearon deleted the fix-animation-jump branch November 23, 2024 21:36
@github-actions
Copy link
Copy Markdown
Contributor

Old size New size Diff
8.12 MB 8.12 MB 101 B (0.00%)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants