Skip to content

Commit

Permalink
fix URL replace scroll behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
mfix22 committed Jan 22, 2021
1 parent 090481b commit c5fa086
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/routing.js
Expand Up @@ -185,6 +185,6 @@ export const updateRouteState = (router, state) => {
pathname: router.pathname,
query: mappedState,
},
{ shallow: true }
{ shallow: true, scroll: false }
)
}

0 comments on commit c5fa086

Please sign in to comment.