Open bradleymcleish opened 2 weeks ago
Can confirm, it also happens with full page routes (ie. having the routes /posts and /posts/123, when accessing the latter, the loading.js of the former gets displayed, then a flicker and the loading.js file of the latter gets displayed until the data is loaded).
Tested on both 14.1.4 and 14.2.3
Link to the code that reproduces this issue
https://github.com/bradleymcleish/parallel-loading-issue
To Reproduce
Current vs. Expected behavior
The loading UI for the current route displays for a moment in a flicker in the parallel route position. The loading UI should not show twice and it should not show in the parallel route position when navigating to the page with the parallel route not open/showing
Furthermore, even when having a Loading file in @drawer that returns null the loading flicker still occurs
Provide environment information
Which area(s) are affected? (Select all that apply)
Parallel & Intercepting Routes
Which stage(s) are affected? (Select all that apply)
next dev (local), next build (local)
Additional context
No response