Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Anchor and router-link do not add the query string to history #19

Open
ba55ie opened this issue Jan 19, 2021 · 0 comments
Open

Anchor and router-link do not add the query string to history #19

ba55ie opened this issue Jan 19, 2021 · 0 comments

Comments

@ba55ie
Copy link

ba55ie commented Jan 19, 2021

The navigate method in anchor.ts only adds the path to the history.

The same goes for the router-link. In the navigate method it uses the absolutePath property which also omits the query string.

I started working on a fix, but I don't understand the (undocumented) preserveQuery property in router-link. It seems to use the window.location.search instead of the elements path?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant