Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Animation continues indefinitely when replacing the current route #66

Closed
harsh253 opened this issue Jan 8, 2024 · 4 comments
Closed
Labels
bug Something isn't working

Comments

@harsh253
Copy link
Contributor

harsh253 commented Jan 8, 2024

Nextjs - 13.4.6
nextjs-toploader - 1.6.4

Current behaviour -
When using with nextjs' Link component , it works fine in a regular navigation but when I provide "replace" prop to Link component to replace the current route with a new route, the progress bar animation continues indefinitely even after the route has been replaced and the page is completely rendered.

Expected behaviour -
The progress bar should complete the animation on successful navigation and stop the animation

@Steveb599
Copy link

dooesn't work fine for me with Link component as well, next version 14.0.3

travisbloom-cb added a commit to Stand-With-Crypto/swc-web that referenced this issue Feb 16, 2024
@mjcarnaje
Copy link

doesn't work fine for me as well with

next - 14.0.0
nextjs-toploader - 1.6.6

@mbeaudru
Copy link

mbeaudru commented Feb 28, 2024

Moving to https://github.com/tomcru/holy-loader in the meantime (referred in this issue) since it fixes the replace problem under the hood 👍

@AndlerRL
Copy link

I this still an issue? I had the same issue with version 1.6.4 a couple of months ago.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

6 participants