-
Notifications
You must be signed in to change notification settings - Fork 268
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
Mulitple bars #61
Comments
So what I did for a workaround for now is use some clever pseudo CSS
Which sets all |
This might be the same issue i came to report.. You can see after every reload the nano bar becomes not so nano.... it grows by 1 bar after every load... how can I stop this? here is it in action: https://explorer.notallmine.net/txsPending/ loads after every 10 seconds... it eventually takes over the whole page with one big loading bar lol
|
I added this CSS to "hide" the issue: |
🤷♂️ |
Great plugin 👍
One little issue I came across is that on page load I hook into all ajax request, to call go(0) and increment that with a timer.
When I have like several ajax going, one after the other, not asynchronous.. then multiple bars get created. They all look like they execute at the same time.. but actually its the delay when i set go(100) at the end of one, it spans out to 100% and fades out... while the next request, on the same nanobar variable object calls go(0) and a new html bar gets created on the UI? "under the previous one"
Then if I got several fast ajax calls, the bar stack under each other.. looks wierd.
I tried to add flags, is loading, is timer set.. obviously by the time the first ajax finished the next on checks the flag, it says yes the previous call ended, start a new one.
I would have thought it would just use the same bar?
The text was updated successfully, but these errors were encountered: