-
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
[Bug] Android back button doesnt work on .NET MAUI blazor app #2835
Comments
I'm having this same issue with both MAUI and MAUI Blazor. Back button/gesture does not close the app. Basic Information
|
When will the problem be fixed |
Can confirm that this is fixed for me in the latest preview (preview 11). |
It's not fixed for me. It works for exiting the app, but not for going back in the page history. I'm not even sure it's a good idea to allow that by default, the app may want to avoid the user to navigate back, it's not a web page after all. I think it should be controlled, and right now, it's not possible to avoid the navigation without some complex code. That's currently planned for .NET 7: dotnet/aspnetcore#14962 |
Description
i have created default .net maui blazor app and deployed it to my old Galaxy s6 running android 7. App works fine, but i simply can’t figure out how to make the device’s back button work.
Example: if i go to ‘Counter’ page it takes me to the page, but back button doesn’t take me back to where i started.
Or.. if i just open the app, back button doesnt close the app as i would expect.
Tried this only on Android 7 so i don't know if this also happens on other platforms or android versions.
Steps to Reproduce
Expected Behavior
If we opened a 'Counter' page for example, the app should go one step back, otherwise App should exit
Actual Behavior
Nothing happens
Basic Information
Screenshots
Reproduction Link
Workaround
The text was updated successfully, but these errors were encountered: