-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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 config component for layout animations #5045
Add config component for layout animations #5045
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I will post the rest of the review tomorrow.
android/src/fabric/java/com/swmansion/reanimated/NativeProxy.java
Outdated
Show resolved
Hide resolved
android/src/fabric/java/com/swmansion/reanimated/NativeProxy.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me, but let's wait for more people to approve this before merging.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👏👏👏
Summary
This PR adds
<LayoutAnimationConfig>
- a wrapper component, which can be used toIt also adds a
skipEnteringExitingAnimations
prop toAnimated.FlatList
- when used entering and exiting animations of items will not start when the list appears/disappears.Screen.Recording.2023-09-12.at.17.37.09.mov
Test plan
Check the behavior of
FlatList skip entering & exiting
andNested LayoutAnimationConfig
examples.