Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This fixes a bug with layout animation (**editor only**): If a layout's bounds change while it is currently performing a layout animation, sometimes it will repeat the same animation after the first animation has completed. This was particularly evident when using spring interpolation. The root cause was an incorrect comparison (using == rather than the implemented equals() function) between the target layout bounds and the current animated bounds. In addition, this PR fixes an inconsistency between runtime layout animation and editor. Editor was previously restricting animation to relative layouts only, now we allow relative and absolute layout animations. Diffs= 61e927c9cf Fix layout animation repeat (#8875) Co-authored-by: Philip Chung <[email protected]>
- Loading branch information