-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
fix(useUrlSearchParams): restore proper history and navigation behavior #4969
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
base: main
Are you sure you want to change the base?
Conversation
…browser's history recording and navigation functions
useUrlSearchParams
has disrupted the browser's history recording and navigation functions
@vueuse/components
@vueuse/core
@vueuse/electron
@vueuse/firebase
@vueuse/integrations
@vueuse/math
@vueuse/metadata
@vueuse/nuxt
@vueuse/router
@vueuse/rxjs
@vueuse/shared
commit: |
Thank you for your PR. Can you add some tests for this feature to prevent future regressions? |
…d or backward button of the browser test
No problem. I have already added the unit tests. |
I noticed that the test you added would still pass even without your fix. This means the test might not be covering the actual bug. Could you double-check the test logic and make sure it would fail without your patch? |
…d or backward button of the browser test
I revised the unit tests to ensure that without my patch, the program would fail the tests. |
useUrlSearchParams
has disrupted the browser's history recording and navigation functionsuseUrlSearchParams
has disrupted the browser's history recording and navigation functions
useUrlSearchParams
has disrupted the browser's history recording and navigation functions
fix #4968 browser's history recording and navigation functions
Before submitting the PR, please make sure you do the following
fixes #123
).Description
fix #4968
Additional context