Skip to content
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

crashes when I repeatedly press and dismiss the sheet #62

Open
xqsadness opened this issue May 14, 2024 · 3 comments
Open

crashes when I repeatedly press and dismiss the sheet #62

xqsadness opened this issue May 14, 2024 · 3 comments

Comments

@xqsadness
Copy link

When I repeatedly press and dismiss the sheet, it crashes and throws error "RouterView.swift:483: Fatal error: Did dismiss pushed screen but could not find new root screen"

@xqsadness
Copy link
Author

xqsadness commented May 14, 2024

I noticed that the Sample project also encounters a similar issue when pressing and continuously dismissing the sheet

same issue: 🕊️ SwiftfulRouting 🕊️ -> Failed to execute onDismiss methods and remove routing flows after screen dismissal. This may cause undefined behavior.

@SwiftfulThinking
Copy link
Owner

Hi @xqsadness I'm still not seeing how to reproduce this. You're saying to open the app and click "dismiss screen" 100x?

@xqsadness
Copy link
Author

xqsadness commented Jun 6, 2024

Hi @SwiftfulThinking I think you need to open the app and click "dismiss screen" 10-20 times, or possibly fewer, to reproduce the issue.

And here is the video I recorded: "https://drive.google.com/file/d/1T47elnTUTXtLqB-MnkQlpcEYzLU_Im6D/view?usp=sharing"

The same issue occurs on the device and when clicking the "dismiss" button.

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

2 participants