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
[depends on nullsafety] Friction fix revived #66
Conversation
implement AnimationPadding
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.
Really like the approach with the Animation Padding.
Just one thing, while testing on the iOS simulator, I noticed that in the .bottomOnly() (old default) the drag is behaving unexpectedly if the drag gesture goes above the top end of the bottomsheet. Probably the bug was already present before the change as I don't remember testing it in a similar scenario. What do you think?
@mcrovero you're right – turns out my friction fix wasn't adequate. The issue wasn't just that friction should be divided by, but also that it should be |
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.
Seems good to me, great work!
published as |
closes #53
This is pretty much the same change as #54, except that:
AnimationPadding.none()
withAnimationPadding.bottomOnly()
because that is actually what the old default behavior was, getting rid of the easy fling offscreen issue