Open
Description
Version
3.5.3
Reproduction link
Steps to reproduce
- Run
yarn run dev
in the root path of the project - Go to http://localhost:8080/active-links/abouT
What is expected?
The "/about" will be treated as active.
What is actually happening?
The "/about" is not treated as active.
Since Vue Router already supports case-insensitive matching for routes themselves. I think it should be the same for the active match to be case-insensitive too.
Activity
fix: 🐛 treat isActive to case-insensitive
posva commentedon Oct 28, 2021
Provide a valid repro please
Kyle-Ye commentedon Oct 28, 2021
I think using a website like CodePen to build a minimal reproducible environment seems to be low-benifit and troublesome because we can directly use the existing example files(repo's /examples/activeLinks folder and so on) of the repo to reproduce. Just run
yarn run dev
(ornode examples/server.js
) and go to http://localhost:8080/active-links/abouT will reproduce the issueposva commentedon Oct 28, 2021
Aah, I couldn't guess you were talking about the repository examples!
Kyle-Ye commentedon Oct 28, 2021
Sorry that I didn't make it clear😂
fix: 🐛 treat isActive to case-insensitive