app-directory: <Link />
in full height header navigation moves down to content althrough scroll={false}
is set
#50398
Labels
bug
Issue was opened via the bug report template.
Verify canary release
Provide environment information
Operating System: Platform: darwin Arch: arm64 Version: Darwin Kernel Version 22.5.0: Mon Apr 24 20:52:24 PDT 2023; root:xnu-8796.121.2~5/RELEASE_ARM64_T6000 Binaries: Node: 18.15.0 npm: 9.6.6 Yarn: 1.22.19 pnpm: N/A Relevant packages: next: 13.4.5-canary.0 eslint-config-next: N/A react: 18.2.0 react-dom: 18.2.0 typescript: 4.9.5
Which area(s) of Next.js are affected? (leave empty if unsure)
No response
Link to the code that reproduces this issue or a replay of the bug
https://github.com/patshologram/link-scroll
To Reproduce
yarn
yarn dev
http://localhost:3000
Describe the Bug
We implemented an animated mobile menu which spans across the whole height of the device and pushes the content down. We discovered that because of the animation the navigation always lands somewhere between the header and the content when navigating between sites.
Expected Behavior
In my understanding, there should not be any scrolling if
scroll={false}
is set, no matter how tall the navigation component is.Which browser are you using? (if relevant)
No response
How are you deploying your application? (if relevant)
No response
The text was updated successfully, but these errors were encountered: