PullToDismissTransition
PullToDismissTransition copied to clipboard
[Fix] The "jumping" bug
As noted in the #2, stopPullToDismiss is called twice (when progress is zero, but also because handlePan is called again with panGestureRecognizer.state equal to .ended) and so UIPercentDrivenInteractiveTransition.cancel() is called twice.
Fixes #2