-
Notifications
You must be signed in to change notification settings - Fork 29.5k
Closed
Copy link
Labels
linear: nextConfirmed issue that is tracked by the Next.js team.Confirmed issue that is tracked by the Next.js team.
Description
Verify canary release
- I verified that the issue exists in the latest Next.js canary release
Provide environment information
Operating System:
Platform: linux
Arch: x64
Version: #1 SMP Mon Sep 19 19:14:52 UTC 2022
Binaries:
Node: 16.15.0
npm: 8.5.5
Yarn: 3.2.4
pnpm: N/A
Relevant packages:
next: 13.0.2
eslint-config-next: 13.0.0
react: 18.2.0
react-dom: 18.2.0
What browser are you using? (if relevant)
Chrome 107.0.5304.87
How are you deploying your application? (if relevant)
Vercel
Describe the Bug
When navigating between pages using Link
, the page does not scroll up by default wich is supposed to be the default behaviour of next/link
Expected Behavior
The page scrolls up when switching pages unless I manually disable this feature of next/link
Link to reproduction
To Reproduce
- Access https://beta.otpfy.com/
- Scroll down until you see the "Get started for free" button
- Click the given button
- Check that when navigating to the
auth
page the scroll is preserved and not scrolled to the top
:
From SyncLinear.com | NEXT-378
alvarlagerlof, imranbarbhuiya, theo-mesnil, SergeySypalo, carstenlebek and 49 more
Metadata
Metadata
Assignees
Labels
linear: nextConfirmed issue that is tracked by the Next.js team.Confirmed issue that is tracked by the Next.js team.