-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Fix Drawer prematurely snapping
#153955
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
Fix Drawer prematurely snapping
#153955
Conversation
bleroux
left a comment
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.
Thanks for the fix and the nice test.
I made some comments to help there and I will let someone with a deeper understanding on animation logic to do the final review.
justinmc
left a comment
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.
LGTM 👍
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
|
Looks like back-to-back flaking… hopefully a rebase can fix it! Edit: 'twas indeed a flake |
905004b to
cbea660
Compare
This comment was marked as outdated.
This comment was marked as outdated.
This regression is due to the fact that `animationController.isAnimating` and `animationController.status.isAnimating` sometimes return opposite values. This PR implements & tests the bugfix, and also adds documentation to explain this behavior. <br> fixes flutter#153851 cc @azeunkn0wn @huycozy
This regression is due to the fact that `animationController.isAnimating` and `animationController.status.isAnimating` sometimes return opposite values. This PR implements & tests the bugfix, and also adds documentation to explain this behavior. <br> fixes flutter#153851 cc @azeunkn0wn @huycozy
This regression is due to the fact that
animationController.isAnimatingandanimationController.status.isAnimatingsometimes return opposite values.This PR implements & tests the bugfix, and also adds documentation to explain this behavior.
fixes #153851
cc @azeunkn0wn @huycozy