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
I try to make a search box that would navigate to search results page with some search params after clicking "search" button, it works fine in dev mode, but can't work on search results page in build mode.
There is a related report here #813, but I don't think the problem I encountered is related to switching layouts, because my problem is shown on the same page in different modes.
brc-dd
changed the title
router.go can't navigate to same path with different search params in build mode
support router.go for same page navigations
Jan 3, 2025
Describe the bug
I try to make a search box that would navigate to search results page with some search params after clicking "search" button, it works fine in dev mode, but can't work on search results page in build mode.
Reproduction
A online demo is available here.
npm run docs:dev
in terminal.npm run docs:build
andnpm run docs:preview
.Expected behavior
Build mode should have the same performance as dev mode. On search results page, page should refresh and apply new query params to filter results.
System Info
Additional context
There is a related report here #813, but I don't think the problem I encountered is related to switching layouts, because my problem is shown on the same page in different modes.
Validations
The text was updated successfully, but these errors were encountered: