rsnext/test/e2e/app-dir/navigation/app
Zack Tanner 3427d324d8
fix: app router hash scrolling should respect scroll-padding (#51268)
When navigating to a route with a hash parameter, the layout router
jumps to the element by scrolling to the node's `offsetTop` value.
However, this will ignore `scroll-padding`, which deviates from browser
behavior.

It looks like this isn't an issue in the pages router which currently
makes use of
[`scrollIntoView`](https://github.com/vercel/next.js/blob/canary/packages/next/src/shared/lib/router/router.ts#L2262).

Closes NEXT-1171
Fixes #49612

---------
2023-06-13 20:50:51 -07:00
..
assertion Strip _rsc query for navigation between app and page (#51195) 2023-06-12 20:36:36 +00:00
external-push/[storageKey] app router: Fix infinite redirect loop in MPA navigation (#49058) 2023-05-03 11:04:53 +02:00
hash App Router: fix relative query/hash handling in next/link and router push/replace (#49521) 2023-05-28 10:29:00 -07:00
hash-link-back-to-same-page Fix going back to page after applying hash link (#50006) 2023-05-18 16:33:58 -07:00
hash-with-scroll-offset fix: app router hash scrolling should respect scroll-padding (#51268) 2023-06-13 20:50:51 -07:00
nested-navigation Separate navigation and hooks tests into new test suites (#45766) 2023-02-10 00:38:39 +00:00
nested-relative-query-and-hash App Router: fix relative query/hash handling in next/link and router push/replace (#49521) 2023-05-28 10:29:00 -07:00
not-found Failing tests for 404 back/forward (#50047) 2023-05-22 17:04:36 +02:00
redirect app router: Fix infinite redirect loop in MPA navigation (#49058) 2023-05-03 11:04:53 +02:00
redirect-dest Separate navigation and hooks tests into new test suites (#45766) 2023-02-10 00:38:39 +00:00
search-params Fix rsc payload fetch failures due to state tree encoding (#51017) 2023-06-09 12:06:00 +02:00
layout.js Add test for next-found and redirect for metadata (#46248) 2023-02-22 18:54:14 +01:00
page.js Separate navigation and hooks tests into new test suites (#45766) 2023-02-10 00:38:39 +00:00