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
The dropEventTimerSubscription is not unsubscribed after dropped finished. It is still there and fires until the next drop event or the component is destroyed. This has the side effect that the angular change detection also runs every 200ms.
Maybe with a code like the following insteded of just using numOfActiveReadEntries--, the dropEventTimer in
Is there a workaround for this? We use Angular's built-in testability object for QA, and the timer is preventing that object from stabilizing after a file drop.
Related to #224
The dropEventTimerSubscription is not unsubscribed after dropped finished. It is still there and fires until the next drop event or the component is destroyed. This has the side effect that the angular change detection also runs every 200ms.
Maybe with a code like the following insteded of just using
numOfActiveReadEntries--
, the dropEventTimer inngx-file-drop/src/ngx-file-drop/ngx-file-drop.component.ts
Line 225 in b63662c
The text was updated successfully, but these errors were encountered: