T
TanStack2y ago
stormy-gold

Pathless directories after dynamic directory not being excluded in url?

https://stackblitz.com/edit/tanstack-router-cqjfmc?file=src%2Froutes%2F_auth%2F%24teamId%2F_detail-layout.tsx - Navigate to New Layout Directory, - runtime pathname is /123/detail-layout/route2/123 but the route ID is /_auth/$teamId/_detail-layout, detail-layout is included in the URL - original layout route which is nested in _auth but not $teamId works as expected, with runtime path /layout-a
austinm911
StackBlitz
Router Basic File Based Example (forked) - nested folder layouts - ...
Run official live example code for Router Basic File Based, created by Tanstack on StackBlitz
5 Replies
jolly-crimson
jolly-crimson2y ago
I've stumbled upon this as well. Seems problems happen when you add the second pathless layout to the route. This seems like in issue in the library
stormy-gold
stormy-goldOP2y ago
@Tanner Linsley any chance you could address this? struggling here haha
No description
stormy-gold
stormy-goldOP2y ago
@Manuel Schiller @Tanner Linsley any chance you all might be able to take a look at this issue?
quickest-silver
quickest-silver2y ago
I’m checking it out today
exotic-emerald
exotic-emerald2y ago
@DiamondDragon Have it been fixed?? because still facing this error you are describing while i am making something now!

Did you find this page helpful?