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): preview positioned incorrectly when RTL is set on the body (#29606)
As of #28945 we use a popover to display the preview so that it's always on top. To do so we need to push the popover from its default position at the center to the top/left which is done using `margin: auto`. Since we were setting `margin: 0`, the element was ending up at top/right in RTL, if `dir="rtl"` is set on the `html` or `body`.
These changes fix the issue by pushing the element to the top/left using `margin-right: auto`.
Fixes#29604.
(cherry picked from commit 04ce4d2)
0 commit comments