Skip to content

Conversation

@i5glu
Copy link

@i5glu i5glu commented Aug 2, 2019

I use your gallery in my app, it's very nice, but if found issue:
When you try to dismiss photoViewer calling dismiss(animated:completion:) from another class, app freezes. It's because transitionController has flag "forceNonInteractiveDismissal" set to false and "interactionControllerForDismissal" return dismissal animator, while it should return nil to perform non interactive dismissal correctly.

I renamed flag "forceNonInteractiveDismissal" to "forceInteractiveDismissal" and changed logic, so interaction dismissal begins with gesture recognizer, and default dismissal is now non interactive.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant