nextjs-toploader
nextjs-toploader copied to clipboard
Progress Stuck if I Click Link with the same route
The progress works well, but there is problem:
The progress bar will get stuck if I click link with the same route, for example:
If I'm in /contact , and I click again the Link with href="/contact", the progress bar showing again but get stuck
have you used localization ?
Hey buddy,
is there any update on this?
This sounds like something's up with your code. Are you maybe redirecting to /contact/ -> /contact?
The TopLoader only shows if the new url is not the same.
the problem (for us at least) is because we're using a middleware that is prepending the localization.
/contact => /en/contact.
Is there any way we can stop NProgress on those redirections?