Skip to content

Interactive transition documentation #780

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

Open
mgrider opened this issue May 27, 2025 · 0 comments
Open

Interactive transition documentation #780

mgrider opened this issue May 27, 2025 · 0 comments

Comments

@mgrider
Copy link

mgrider commented May 27, 2025

I don't know if it's the broken documentation, or what, but I can't seem to make Hero work interactively. Does it still work that way?

I was able to find the blog post that is currently a broken link in the documentation in the internet archive here: https://web.archive.org/web/20200415004138/http://lkzhao.com/2017/02/05/hero-interactive-transition.html

Unfortunately, that didn't really help, although it was useful context to have.

I am unclear how Hero works with (or whether it can work with) the UINavigationController's interactivePopGestureRecognizer property, but I was able to create a new UIScreenEdgePanGestureRecognizer that happens at the same time, and cancel the pop-gesture recognizer when its triggered and I want to use a Hero transition instead. The problem is that, once I've started the Hero transition using Hero.shared.start(), my recognizer's .changed case is never called.

I haven't tried reproducing this issue in a simpler stand-alone project, so I don't really know if this is all somehow specific to my codebase, and it very well could be.

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

No branches or pull requests

1 participant