Skip to content
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

Add enter/exit animations to modals on web #2042

Merged
merged 3 commits into from
Dec 1, 2023

Conversation

mozzius
Copy link
Member

@mozzius mozzius commented Nov 30, 2023

Layout transitions on web just dropped for Reanimated 3.6.0, so I added them to the modals. Makes the web app feel a lot more fluid.

The default reanimated animations are not the most beautiful animations, so I kept them as quick fades for the most part. I attempted to make nicer keyframe ones but that doesn't appear to work properly on web yet.

NOTE: I had to update the reanimated version, so that may impact some of the more complex animation stuff you've got going on

Video:

Screen.Recording.2023-11-30.at.12.35.30.mov

@pfrazee
Copy link
Collaborator

pfrazee commented Nov 30, 2023

Oh fire, I'll try to get this reviewed sooner than later. May be next week. Thanks mozzy!

Copy link
Collaborator

@pfrazee pfrazee left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah this is nice. I looked through the reanimated changelog and it looks safe. Thanks!

@pfrazee pfrazee merged commit 9375532 into bluesky-social:main Dec 1, 2023
@mozzius mozzius deleted the modal-enter-exit-animations branch December 1, 2023 00:11
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.

2 participants