You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I found a potential solution, not sure if it is the best idea.
If the disabled property is passed explicitly from the component to the button a unwanted state change can be detected and fixed after changing the loading property:
We have a problem where a state change will not be correctly reflected after a state change.
https://jsfiddle.net/gvc3ryo1/7/
Changing the
loading
property overrides changes on thedisabled
property.I am not aware of a workaround
I suspect calling the
stop
method clashes with the property changehttps://github.com/hakimel/Ladda/blob/1f4586f7a1f2043b3d027c8bf471d39d489da1b8/js/ladda.js#L103
The text was updated successfully, but these errors were encountered: