Closed vmiliantsei closed 2 years ago
Hey there! Yes, that's a bug. I think your suggested fix doesn't quite cut it though, as it would cause the aria-current attribute to not be applied in some cases. But by introducing a new variable that checks if there is an exact match, this can be fixed. I'll look into it :)
Fixed in 3.2.0
Describe the bug A clear and concise description of what the bug is.
When navigating from "/some/page?from=1" to "/some/page" the history state is replaced instead of being pushed.
To Reproduce Steps to reproduce the behavior:
Expected behavior A clear and concise description of what you expected to happen.
Browser's "back" button makes you go back to the previous page.
Additional context Add any other context about the problem here.
The following patch fixes the issue: