-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Class pace-done added to body multiple times #515
Comments
Same for me |
There is a pipe within the search pattern to replace pace-done by class pace-running which should not be in. Replace line 276: by
Afterwards it will stop that nasty misbehavior. Regards |
@browniebraun Would you like to open a PR with this change? |
Hi @matt-snider Could this be added to the next update please? It's still happening on the latest version (https://cdn.jsdelivr.net/npm/pace-js@latest/pace.min.js) |
Hi @michaelthedev! Have you submitted a PR? |
oh, i tagged the wrong person. I just created the PR (#547) I wasn't able to apply the fix on the minified version |
Hi there,
Thanks for this great library! It looks great and works very well, although I am having one minor issue.
Recently I noticed that on each navigation or request, the
pace-done
class is being added to body and not properly cleared on the next run. This doesn't affect the functionality, but over time, many duplicate instances of this class accumulate.The fact that no one else has reported this leads me to believe that I might be making a mistake, or there is some issue specific to my setup. But I guess we'll see if anyone else reports the same behaviour. I'm hoping that someone might have some idea what could be causing this.
Some information that might be helpful:
vue-cli-service
which useswebpack
to bundle everythingimport "pace-js"
inmain.ts
The text was updated successfully, but these errors were encountered: