Support scroll: false for Link component for app router (#51869)
### What
Support `scroll={false}` for Link component in app router. This can be
used when you don't need to scroll back to top again when route url
changes. For instance hash query changes, if you want to keep the
scrolling as it is, you can use this option.
### How
Handling the `scroll` option in navigation reducer on client side.
Fixes #50105
Fixes NEXT-1377
---------
Co-authored-by:
Jiachi Liu <inbox@huozhi.im>
Showing
Please
register
or
sign in
to comment