Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docs: Scroll Restoration broken #70148

Open
jantimon opened this issue Sep 16, 2024 · 1 comment
Open

Docs: Scroll Restoration broken #70148

jantimon opened this issue Sep 16, 2024 · 1 comment
Labels
Documentation Related to Next.js' official documentation.

Comments

@jantimon
Copy link
Contributor

What is the documentation issue?

When navigating through the Next.js documentation, there's an issue with the back button functionality that might be a bug in the APP router

Steps to Reproduce

  1. Go to https://nextjs.org/docs/app/building-your-application/caching#request-memoization
  2. Click on "Fetch API" in the content
  3. Click on "Fetch API Reference"
  4. Use the browser's back button
nextjs-scroll-restoration.mp4

Is there any context that might help us understand?

This video was recorded in Brave

Does the docs page already exist? Please link to it.

https://nextjs.org/docs/app/building-your-application/caching#request-memoization

@jantimon jantimon added the Documentation Related to Next.js' official documentation. label Sep 16, 2024
@samcx
Copy link
Member

samcx commented Sep 16, 2024

@jantimon Thanks for sharing! We are taking a look.

I see that if you click the back button twice, the scroll restoration goes to the correct page.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Documentation Related to Next.js' official documentation.
Projects
None yet
Development

No branches or pull requests

2 participants