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 can definitely see why you need this feature. Right now the indeterminate mode is assumed as always being active and it is therefore up to the library consumers to either hide or show the spinner. I will consider adding an active property in the future.
For now I'll advise you to introduce a data-active attribute that you can toggle yourself on the spinner and hide it using some CSS like this.
When using the spinner in indeterminate mode (e.g. during an AJAX call), there's no obvious way to hide it. I'd imagine writing something like:
I tried setting
wl-progress-spinner:not([active]) { visibility: hidden; }
, but it pops in and out in a jarring way.Polymer's paper-spinner uses a fade in/out that worked well: https://github.com/PolymerElements/paper-spinner
The text was updated successfully, but these errors were encountered: