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
Enable the loading state and wait a few seconds. The alert is now showing a spinner.
Disable loading and after 500ms enable it again
What is expected?
The spinning should immediately stop and restart after the debounce.
What is actually happening?
Nothing
Environment
Info
ng-zorro-antd
10.0.1
Browser
Chrome
The delay setting is useful in order to not show a loading spinner if the data becomes available quickly enough. However, delaying the end of the spinner makes little sense.
The text was updated successfully, but these errors were encountered:
This also cleans up the rxjs in this component which would actually create
a memory leak over time if the delay input changes a lot (which is very
hypothetical).
fixesNG-ZORRO#5926
This also cleans up the rxjs in this component which would actually create
a memory leak over time if the delay input changes a lot (which is very
hypothetical).
fixesNG-ZORRO#5926
* docs: remove useless CSS
* fix(module:spin): use delay only to activate spinner
This also cleans up the rxjs in this component which would actually create
a memory leak over time if the delay input changes a lot (which is very
hypothetical).
fixes#5926
* fix(module:spin): respect delay on init
fixes#5928
Reproduction link
https://stackblitz.com/edit/angular-f1slud?file=src/app/app.component.ts
Steps to reproduce
What is expected?
The spinning should immediately stop and restart after the debounce.
What is actually happening?
Nothing
The delay setting is useful in order to not show a loading spinner if the data becomes available quickly enough. However, delaying the end of the spinner makes little sense.
The text was updated successfully, but these errors were encountered: