Commit 7ab8a8e
fix(cdk/drag-drop): avoid retaining disabled handles after they've been destroyed (#21015)
The `DragRef` keeps track of which of its handles have been disabled, but if one of
them is destroyed, we still keep its reference until the object is destroyed.
These changes add some extra logic to filter them out.
Fixes #21009.
(cherry picked from commit de5a940)1 parent cb6f053 commit 7ab8a8e
1 file changed
Lines changed: 12 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
345 | 345 | | |
346 | 346 | | |
347 | 347 | | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
348 | 360 | | |
349 | 361 | | |
350 | 362 | | |
| |||
0 commit comments