Skip to content
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

Link isn't rendered as active for matched routes with optional param #4353

Closed
jimkyndemeyer opened this issue Jan 19, 2017 · 2 comments
Closed

Comments

@jimkyndemeyer
Copy link

Version

3.0.2

Test Case

http://jsbin.com/faziyeroti/edit?html,js,output

Steps to reproduce

Click the "Customer id 1" link.

Expected Behavior

The "Customers" link should be shown as active as this is the route that was matched.

Actual Behavior

The "Customers" link is not shown as active.

@timdorr
Copy link
Member

timdorr commented Jan 19, 2017

Dupe of #3233, #3237, #3277. Please check existing issues first.

@timdorr timdorr closed this as completed Jan 19, 2017
@jimkyndemeyer
Copy link
Author

Thanks. Did a search, but apparently not one with the right terms.

If others stumble across this issue, the solution appears to be a nested route with no component: #3277 (comment)

@lock lock bot locked as resolved and limited conversation to collaborators Jan 21, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants