You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When using use_navigate or any reactive element that uses it (e.g. query_signal), the # of the fragment in the URL gets duplicated, e.g. 127.0.0.1:8080/#fragment to 127.0.0.1:8080/?key=1##fragment
Leptos Dependencies
leptos = { version = "0.7.7", features = ["csr"] }
leptos_router = "0.7.7"
The issue also occur if simply try to navigate("#fragment", Default::default()) but since router currently does not support fragment so it is expected that might happen, but for URL that already has a fragment created from a HTML element, I think it should at least preserve the fragment part.
Expected behavior
It should preserve the original fragment part, e.g. in the code to reproduce the URL should go from 127.0.0.1:8080/#fragment to 127.0.0.1:8080/?key=1#fragment.
The text was updated successfully, but these errors were encountered:
Describe the bug
When using
use_navigate
or any reactive element that uses it (e.g.query_signal
), the#
of the fragment in the URL gets duplicated, e.g.127.0.0.1:8080/#fragment
to127.0.0.1:8080/?key=1##fragment
Leptos Dependencies
To Reproduce
The issue also occur if simply try to
navigate("#fragment", Default::default())
but since router currently does not support fragment so it is expected that might happen, but for URL that already has a fragment created froma
HTML element, I think it should at least preserve the fragment part.Expected behavior
It should preserve the original fragment part, e.g. in the code to reproduce the URL should go from
127.0.0.1:8080/#fragment
to127.0.0.1:8080/?key=1#fragment
.The text was updated successfully, but these errors were encountered: