-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
NavigationView cannot be null with navigation in modal #10235
Comments
We've moved this issue to the Backlog milestone. This means that it is not going to be worked on for the coming release. We will reassess the backlog following the current release and consider this item at that time. To learn more about our issue management process and to have better expectation regarding different types of issues you can read our Triage Process. |
Tested again, on two units, one with Android 11.0, and one with 7.1 Did a clean checkout of my example before testing, just in case. Both crashes with same error as before
|
The issue will be fixed by #10353 |
Description
A crash with the error
**System.InvalidOperationException:** 'NavigationView cannot be null'
It worked with latest 6-versjon, but not with 7-rc1
Steps to Reproduce
Create new Maui project
Set App.MainPage to new NavigationPage(new MainPage())
In MainPage, open modal (Navigation.PushModalAsync(new NavigationPage(new SomePage())))
Close modal Navigation.PopModalAsync());
And it crashes
Link to public reproduction project repository
https://github.com/jenscski/MauiNavigationViewCannotBeNull
Version with bug
Unknown/Other (please specify)
Last version that worked well
6.0.424
Affected platforms
Android
Affected platform versions
Only tested with Android
Did you find any workaround?
No
Relevant log output
The text was updated successfully, but these errors were encountered: