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

Ladda stops spinning for longer requests #37

Open
Scobee opened this issue May 13, 2019 · 1 comment
Open

Ladda stops spinning for longer requests #37

Scobee opened this issue May 13, 2019 · 1 comment

Comments

@Scobee
Copy link

Scobee commented May 13, 2019

When I have really small requests (a few ms only), the spinner works .. but for larger requests (where the icon needs to spin for a longer period of time) it 'crashes' .. as in the button remains disabled, but the spinner is static instead of continuously spinning
This happens on ionic 3 and angular 5

I can post a video if the above comment doesn't make any sense

I am just using:
<button ion-button color="orange" round (click)="goToReadBook(book)" [ladda]="loadingService.isActive">Citeste</button>

And the isActive is made active before the request, and isActive is made false when the request is over, in either .then or .catch

Do you guys know what could be wrong ?

@theodorejb
Copy link
Collaborator

I don't have experience with Ionic, so I'm not sure if that might be causing an issue. However, there are a bunch of things you can try to narrow down the problem:

  • Is the issue reproducible in other browsers?
  • Exactly how long does the progress indicator spin before it freezes?
  • Does the problem still occur if the Ionic attributes are removed from the button?
  • Does updating to the latest version of Angular and Ionic fix the issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants