Next.js · Junior · Question 61 of 75

What does scroll={false} on <Link> do?

Explanation

By default Next.js scrolls to the top of the new segment if it isn't visible. Disable it, e.g., for tabs that only change part of the page.

Further reading

Problem with a question

Next.js · Junior · question 61

Test yourself

Take the Next.js · Junior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz