-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Open
Description
Which project does this relate to?
Router
Describe the bug
Performing relative navigation to the index route does not navigate.
E.g., if I have a route of /posts/
, navigating from="/posts/
to="."
does not navigate, even if current URL is a child route (e.g. /posts/$postId
).
Your Example Website or App
https://stackblitz.com/edit/tanstack-router-vlwhvtl4?file=src%2Froutes%2Fposts.route.tsx
Steps to Reproduce the Bug or Issue
- Navigate to a specific post (e.g. /posts/1)
- Click the
To Index
link on the left hand side above the post links - The page does not navigate back to the index
Expected behavior
I would expect the route to successfully navigate to the index route if it is currently on a child route.
Screenshots or Videos
Screen.Recording.2025-07-31.at.10.55.07.mov
Platform
- Router Version: 1.130.9
- OS: macOS
- Browser: Chrome
- Browser Version: 138.0
- Bundler: vite
- Bundler Version: 6.3.5
Additional context
No response
Metadata
Metadata
Assignees
Labels
No labels