next.js
36bff106 - [breaking]: enable router scroll optimization by default (#84102)

Commit
355 days ago
[breaking]: enable router scroll optimization by default (#84102) This removes the env gate that opted into old behavior. Without explicitly setting `scroll-behavior: 'smooth'` on the document, Next.js will not attempt to programmatically disable smooth scrolling when performing certain router events. This is a performance optimization in all cases that do not care about smooth scroll.
Author
Parents
Loading