Skip to content
Source
Sign inSign up
TanStack/router

Issue resolving navigations to routes when the basepath partially matches a route path #2019

Send to my agent
ClosedSeanCassiere opened this issue 3 comments
SeanCassierecommented

Describe the bug

From https://discord.com/channels/719702312431386674/1265399137105481759

Your Example Website or App

https://stackblitz.com/edit/tanstack-router-yw832e?file=src%2Fmain.tsx

Steps to Reproduce the Bug or Issue

  1. Go to the index page of the reproduction
  2. Try clicking on the link "Products" at the end of the page.
  3. Notice the notFound component thrown and the incorrect URL in the address bar.

Expected behavior

When calling a navigation with a basepath should resolve the same as when the property hasn't been set.

Screenshots or Videos

No response

Platform

TSR 1.43.4

Additional context

No response

  1. SeanCassiere added labelsbug

  2. Found something new with @schiller-manuel about this in the test written in #2020

  3. SeanCassiere reopened this

  4. Found something new with @schiller-manuel about this in the test written in #2020

    #2023 will track the issue found

  5. SeanCassiere closed this

Sign in to join this conversation.