Double navigation cause desync beetween Location::pathname
and the actual URL
#2979
Labels
bug
Something isn't working
Location::pathname
and the actual URL
#2979
Describe the bug
A clear and concise description of what the bug is.
Leptos Dependencies
Please copy and paste the Leptos dependencies and features from your
Cargo.toml
.For example:
To Reproduce
In this example, when clicking the anchor in the
Home
component, it navigates to theCounter
component at/counter
, but the effect trigger another redirect to stay at theHome
page, it works as expected, you stay at the Home page, but the url stays/counter
. And it also shows thatlocation.pathname
is/
.Expected behavior
That the url is kept in sync.
Additionnal context
It worked fine in 0.6
The text was updated successfully, but these errors were encountered: