Skip to content

f7.view.main.router.navigate("/") does not change URL #4004

@Chupriarti

Description

@Chupriarti

Describe the bug

f7.view.main.router.navigate("/") does not change URL.

To Reproduce

Steps to reproduce the behavior:

  1. Call f7.view.main.router.navigate("/") somewhere outside of the route "/"

Expected behavior

URL changes, for example, from "/about/" to "/"

Actual Behavior

URL remains "/about/"

Screenshots

https://snipboard.io/EHnr0T.jpg

Additional context

f7.view.main.router.updateCurrentUrl("/") also does not change URL to "/"
The same code works in Framework7 v5 and url changes to "/"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions