We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8bc8543 commit 9907685Copy full SHA for 9907685
1 file changed
app/router.options.ts
@@ -10,11 +10,7 @@ export default {
10
11
// Preserve the current viewport for query-only updates on pages that opt in,
12
// such as compare where controls sync state to the URL in-place.
13
- if (
14
- to.path === from.path &&
15
- to.hash === from.hash &&
16
- to.meta.preserveScrollOnQuery === true
17
- ) {
+ if (to.path === from.path && to.hash === from.hash && to.meta.preserveScrollOnQuery === true) {
18
return false
19
}
20
0 commit comments