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
fix(cdk/drag-drop): avoid retaining destroyed items until next drag (#30514)
We have some logic that registers and de-registers the items on create/destroy. That logic only syncs the item with the internal `DragRef` once the next dragging starts which means that we might retain a destroyed item if another drag doesn't start.
These changes switch to always syncing the list when an item is removed.
I've also added some context around why things are set up as they are right now since it took a while to remember the reasoning.
Fixes#30506.
(cherry picked from commit 26765a4)
0 commit comments