Skip to content

Fixed layout transition animation was started multiple times on android#2240

Merged
jmysliv merged 3 commits intomasterfrom
@jmysliv/android-layout-transitions-bug
Aug 4, 2021
Merged

Fixed layout transition animation was started multiple times on android#2240
jmysliv merged 3 commits intomasterfrom
@jmysliv/android-layout-transitions-bug

Conversation

@jmysliv
Copy link
Copy Markdown
Contributor

@jmysliv jmysliv commented Jul 30, 2021

Description

On android sometimes layout transition animation was started multiple times with start and target values equal which resets the very first animation. I've added checking if the start and target values are equal for layout transition animation and if they are I'm not starting that animation.
Fixes #2235

Changes

  • added check if start and target values are equal for layout transitions

Screenshots / GIFs

Before

before.mov

After

after.mov

-->

@jmysliv jmysliv self-assigned this Jul 30, 2021
@jmysliv jmysliv merged commit a04a0e3 into master Aug 4, 2021
@jmysliv jmysliv deleted the @jmysliv/android-layout-transitions-bug branch August 4, 2021 06:43
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.

Layout Transitions with AnimatedTextInput components don't work on Android

2 participants