Skip to content

isExactActive is false after a redirect with a named route #1497

@Florent-Bouisset

Description

@Florent-Bouisset

Version

4.1.3

Reproduction link

codesandbox.io

Steps to reproduce

  • Click on Home Link, isExactActive and isActive is true
  • Click on 4O4 link
  • You are redirected to Home page
  • You current url is /home

What is expected?

isExactActive and isActive are true for page Home because you have been redirected to this page

What is actually happening?

isActive is true but isExactActive is false


I have this issue only when I redirect with a named route, I don't have it when I redirect with a url

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghas workaroundA workaround has been found to deal with the issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions