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 1fd8de3 commit aac38f3Copy full SHA for aac38f3
packages/next/src/client/components/layout-router.tsx
@@ -354,6 +354,7 @@ function InnerScrollAndFocusHandlerNew(props: ScrollAndFocusHandlerProps) {
354
355
const alignToTop = false
356
disableSmoothScrollDuringRouteTransition(
357
+ // @ts-expect-error -- Needs `@types/react-dom` update
358
domNode.experimental_scrollIntoView.bind(domNode, alignToTop),
359
{
360
// We will force layout by querying domNode position
0 commit comments