Skip to content

Navigate when a new route is added while on a wildcard #2060

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed

Navigate when a new route is added while on a wildcard #2060

wants to merge 1 commit into from

Conversation

SteffenDE
Copy link

@SteffenDE SteffenDE commented Feb 13, 2018

As I am also relying on having dynamically added routes and a fallback 404 route, I tried fixing #1862 by checking not only if the matched routes length changed but also if the matched route itself changed:
route.matched[0] === current.matched[0]

Is this a valid way to fix this issue? Or do we have to check if there is more than one matched route?

Closes #1862

@posva posva changed the title Fix for #1862 Navigate when a new route is added while on a wildcard Jun 24, 2020
@posva
Copy link
Member

posva commented Jun 24, 2020

Fixed with #3228

@posva posva closed this Jun 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants