loading.tsx not affecting sub-routes in some cases #74412
Labels
bug
Issue was opened via the bug report template.
Navigation
Related to Next.js linking (e.g., <Link>) and navigation.
Link to the code that reproduces this issue
https://codesandbox.io/p/devbox/jovial-shockley-7yn8kf?workspaceId=ws_RG1nRyxTaV3usxvsfBToRH
To Reproduce
However, if you move the
(groupA)/page.tsx
up into theapp/
folder, it works properly, including for the/other/[slug]
route.Current vs. Expected behavior
Current:
loading.tsx
only shows on page refresh, not client side navigations.Expected: Loader should "trickle" down to the routes below.
Provide environment information
Which area(s) are affected? (Select all that apply)
Navigation
Which stage(s) are affected? (Select all that apply)
next dev (local), next build (local), Vercel (Deployed)
Additional context
CSB is on latest canary
The text was updated successfully, but these errors were encountered: