Skip to content

Back navigation different between .net 9 and .net 10 blazor hybrid #32767

@TomSproet

Description

@TomSproet

Description

In .net 9 the backward gesture would first try to go back 1 page in the navigation stack even in the webview.
If there is no page to go back to it would be used to bring the app to the background.

Now in .net 10 10.0.10 you always bring the app to the background when you gesture back.

.net 10
https://github.com/user-attachments/assets/dd062ceb-991e-41f2-86f8-5af00d9850f6

.net 9

20251120-1154-56.7354954.mp4

Steps to Reproduce

I have 2 branches in the linked repository.
one for each version of .net

this is the default project when creating a new maui blazor hyrbrid app.
Make sure to run it on an android 16 emulator (api 36) as i havent tested this behavior on other android versions.

Just open the menu. click on counter and try to navigate backwards by making a swiping motion

Link to public reproduction project repository

https://github.com/Gekidoku/BlazorBackNavigation

Version with bug

10.0.10

Is this a regression from previous behavior?

Yes, this used to work in .NET MAUI

Last version that worked well

9.0.120 SR12

Affected platforms

Android

Affected platform versions

Android 16 was tested

Did you find any workaround?

Go back to .net 9

Relevant log output

Metadata

Metadata

Assignees

No one assigned

    Labels

    i/regressionThis issue described a confirmed regression on a currently supported versionpartner/syncfusionIssues / PR's with Syncfusion collaborationregressed-in-10-preview6s/triagedIssue has been revieweds/verifiedVerified / Reproducible Issue ready for Engineering Triaget/bugSomething isn't working

    Type

    No type

    Projects

    Status

    Done

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions