-
-
Notifications
You must be signed in to change notification settings - Fork 796
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
fix: unmounting modals with navigation #315
Conversation
@gorhom The pr resolves the crash :)
@chybisov Are you getting the same or is this just me? |
@ksitko thanks for testing it and reporting this warning, i'll look into it shortly |
@ksitko i have pushed a commit that will prevent state update when modal is not mounted 👍 |
@gorhom Nice! I can confirm that latest commit fixed the warning. I found a different problem. When not in dev mode I'm getting a crash on opening a bottom model sheet with a "TypeError Attempted to assign to readonly property" error message. |
@ksitko thanks for pointing this issue out, it was with the new release of would you mind testing the latest commit, thanks :) |
@gorhom Latest commit looks good. Thanks for the speedy fixes! :D |
Resolves #292 #299
Motivation
to provide better handling when unmounting modals due to navigation changes
Installation