PullToDismissTransition icon indicating copy to clipboard operation
PullToDismissTransition copied to clipboard

Uses `UIPercentDrivenInteractiveTransition` and `UIViewControllerAnimatedTransitioning` to quickly implement nice “pull-to-dismiss” interactions on modal view controller(s). — Also handles `UIScrollVi...

Results 7 PullToDismissTransition issues
Sort by recently updated
recently updated
newest added

Swiping to the top of the scrollview, and continuing to pan, automatically begins to dismiss the view controller. If the user swipes at velocity, particularly if the scrolling area is...

Better animation completion speed that is related to swipe velocity, and remaining view visible. Particularly noticeable when the user swipes quickly, and is expecting a quick dismiss

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...

Right now, there are a few `enum` switches all over the place. It'd be nice to have these configuration elements defined centrally/statically with embedded properties.

enhancement