-
Notifications
You must be signed in to change notification settings - Fork 4k
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
fix(module:icon): debounce icon rendering on animation frame #8579
base: master
Are you sure you want to change the base?
Conversation
This preview will be available after the AzureCI is passed. |
d93128a
to
6bb1b28
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #8579 +/- ##
==========================================
- Coverage 91.95% 91.94% -0.01%
==========================================
Files 537 537
Lines 18452 18454 +2
Branches 2814 2815 +1
==========================================
+ Hits 16967 16968 +1
Misses 1183 1183
- Partials 302 303 +1 ☔ View full report in Codecov by Sentry. |
@@ -71,7 +75,9 @@ export class NzIconDirective extends IconDirective implements OnInit, OnChanges, | |||
private iconfont?: string; | |||
private spin: boolean = false; | |||
|
|||
private destroy$ = new Subject<void>(); | |||
private destroyRef = inject(DestroyRef); | |||
private pendingTasks = inject(ExperimentalPendingTasks); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
private pendingTasks = inject(ExperimentalPendingTasks); | |
private pendingTasks = inject(PendingTasks); |
Closes #7825