Fixed
Status Update
Comments
ma...@google.com <ma...@google.com> #2
Thanks! This looks like a bug, thank you for reporting!
ap...@google.com <ap...@google.com> #3
I would also recommend setting the value to 10%. When you do that, the behavior is wild.
Dragging up to 10% or between 50% and 90% will cause it to snap back to the start anchor.
Dragging between 10% and 50% or past 90% will cause it to snap to the end anchor.
Dragging up to 10% or between 50% and 90% will cause it to snap back to the start anchor.
Dragging between 10% and 50% or past 90% will cause it to snap to the end anchor.
Description
Per offline discussion, Matvei and I agreed that throwing
CancellationException
inswipeable
when the suspendanimateTo
is canceled would be more consistent with developer expectation, therefore less error-prone.Giving this issue a high-priority since it involves API change.
Matvei, could you please remove
Interrupted
fromAnimationEndReason
API as you implement the proposed cancellation handling? :)