Skip to content

Shallow routing loses hash fragment #14648

@webJose

Description

@webJose

Describe the bug

When goto() is used with an empty string to perform shallow routing, the hash fragment is lost.

Reproduction

Live Repro

In short:

  1. Add a hash fragment to the current URL.
  2. Call goto('').

Logs

System Info

REPL

Severity

serious, but I can work around it

Additional Information

No response

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