-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Crash on Hero.HeroTransition.start() -> () HeroTransition+Start.swift, line 121 #734
Comments
Not really sure what this could be, other than maybe toView and fromView being equal and causing issues, I'm going to try this change to test equality if let toView = toView, let fromView = fromView, toView != fromView {
// if we're presenting a view controller, remember the position & dimension
// of the view relative to the transition container so that we can:
// - correctly place the view in the transition container when presenting
// - correctly place the view back to where it was when dismissing
if isPresenting && !inContainerController {
originalFrameInContainer = fromView.superview?.convert(
fromView.frame, to: container
)
} |
Signed-off-by: Joseph Mattello <mail@joemattiello.com>
I added this fix to #736 cause I'm too lazy to make a new PR for this :p |
No they are not equal. |
weird, other than a threading issue not sure why this would crash here. |
Hi 👋 We have a recurrent crash in production around this issue (actually it's our crash number one in production, by far and at least on iOS 15 & iOS 16)... Do you have any idea about how to fix this or any workaround to avoid it ? Thanks for your answer and have a great day Best regards Jeremie XcodeCrashlytics
|
The text was updated successfully, but these errors were encountered: