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
perf(cdk/drag-drop): fix performance regression when destroying items (#30751)
#30514 changed the logic that syncs destroyed items to apply to non-dragged items as well. This led to a performance regression where swapping out a large list of items can lock up the entire browser. The problem is that the items need to be re-sorted each time an item is destroyed which is expensive.
These changes resolve the issue by keeping track of the last set of items and dropping the item from it without re-sorting.
Fixes#30737.
(cherry picked from commit 1372f52)
0 commit comments