Skip to content

Need help with layout animation on Android and Web #6889

Answered by MatiPl01
giollord asked this question in Q&A
Discussion options

You must be logged in to vote

Hey @giollord!

The only solution for now is to write a custom animation. Unfortunately, layout transitions don't work as they should on web and we are planning to fix this behavior in the near future.

Even though views on web will be animated with JavaScript in this case, the animation should be smooth as it doesn't look complex. Please try writing your custom animation (use useAnimatedStyle, useSharedValue, etc.).

Let me know if you still have questions or need help in writing animation using reanimated hooks.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@giollord
Comment options

@MatiPl01
Comment options

Answer selected by giollord
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants