Skip to content

[Navigation] [WASM] In-app navigation with browser UI other than browser back button unusable - reloads entire app #2775

Open

Description

@VincentH-Net

Current behavior

When navigating within a running Uno WASM app (that uses navigation extensions) in the browser, using the browser back button navigates quickly like you would expect, but when using the browser to navigate forward / to a favorite / history, or do a manual address bar edit, even when only a query parameter is changed, the entire app is reloaded, making this type of navigation unusable for in-app use.

See it in action:

20250520-1124-11.1988605.mp4

In this way, Uno browser navigation support is only useful to start the app, but not for in-app navigation.

Since browser back button navigation is supported in the expected manner and browser address bar navigation is supported with DependsOn, ToQuery and FromQuery, this seems like a defect rather than an enhancement request?

Feedback I get from customers and users is that they do not accept/expect that they cannot use the standard browser functionality because we chose Uno; it could lead to customers demanding another technology instead.

So this seems to be table stakes for WASM apps.

Expected behavior

When the app is running, navigation via browser UI to a valid navigation url in the app should behave identical to navigating via the in-app UI (provided the needed deep linking and routing with DependsOn, ToQuery and FromQuery etc is set up). So no application reloads.

How to reproduce it (as minimally and precisely as possible)

Run below Uno app (created with dotnet new unoapp -preset recommended -platforms wasm plus adding ToQuery and FromQuery code to the routing), and perform the steps in above video.
UnoIssueRepro.zip

Environment

Nuget Package (s): Uno.Sdk with Navigation included in UnoFeatures

Package Version(s): 6.0.67

Affected platform(s):

  • WebAssembly

Activity

  1. added
    kind/bug
    triage/untriaged
    on May 20, 2025
  2. changed the title [-][Navigation] [WASM] In-app navigation with browser other than back button unusable - reloads entire app[/-] [+][Navigation] [WASM] In-app navigation with browser UI other than browser back button unusable - reloads entire app[/+] on May 20, 2025
  3. self-assigned this
    on May 20, 2025
  4. added theissue type on May 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area/navigationkind/bugtriage/untriaged

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions