You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
Create new MAUI Blazor app
Build&Deploy
Go to page "Counter" generated by template
Pres back button
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
Version with issue:
Last known good version: /
IDE: Visaul Studio Comunnity 2022 Preview (17.0.0.0 Preview 4.1)
Platform Target Frameworks: .NET 6 RC1
Android: 7 -->
Nuget Packages:
Affected Devices: Samsung Galaxy S6
Screenshots
Reproduction Link
Workaround
The text was updated successfully, but these errors were encountered:
markosteger
changed the title
[Bug]
[Bug] Android back button doesnt work on .NET MAUI blazor app
Oct 5, 2021
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: