Skip to content

Router Link does not remain active with optional parameters #6459

@brandonroberts

Description

@brandonroberts

If I navigate to a route without any optional parameters, the router link for that route is displayed as active. If I navigate to that same route with optional route parameters, the router link is no longer marked as active.

Example: http://plnkr.co/edit/LVYtuiQ8O2d52UrrxV2e?p=preview

As long as I'm on the Active route, its router link should be marked as active even if there are optional parameters included.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions