diff --git a/packages/react-instantsearch-nextjs/README.md b/packages/react-instantsearch-nextjs/README.md index 4f41614eb8..f15bf8a1d4 100644 --- a/packages/react-instantsearch-nextjs/README.md +++ b/packages/react-instantsearch-nextjs/README.md @@ -58,7 +58,7 @@ export function Search() { } ``` -Import the `` component from the `react-instantsearch-nextjs` package, and replace the <%= widget_link('instantsearch', 'react') %> component with it, without changing the props. +Import the `` component from the `react-instantsearch-nextjs` package, and replace the [``](https://www.algolia.com/doc/api-reference/widgets/instantsearch/react/) component with it, without changing the props. ```diff diff --git a/packages/react-instantsearch-nextjs/src/InstantSearchNext.tsx b/packages/react-instantsearch-nextjs/src/InstantSearchNext.tsx index 065d5b8c0a..bdca96cdff 100644 --- a/packages/react-instantsearch-nextjs/src/InstantSearchNext.tsx +++ b/packages/react-instantsearch-nextjs/src/InstantSearchNext.tsx @@ -91,7 +91,7 @@ export function InstantSearchNext< if (this.isDisposed) { return; } - router.push(url); + router.push(url, { scroll: false }); }; if (typeof passedRouting === 'object') {