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): references to SVG not working inside preview (#20742)
When we create a drag preview we clone the original element, move it to the bottom of
the `body`, set it to `display: none` and clear all `id` attributes from the clone. As a result,
SVG references inside the element break, because the source node is invisible.
These changes resolve the issue by moving the original element outside the layout and
making it invisible, instead of using `display: none`.
Fixes#20720.
0 commit comments