Skip to content

Commit 6d96869

Browse files
committed
fix(material/sidenav): end positioned sidenav not opening in RTL (#30427)
Fixes a regression that happened when we switched the sidenav away from the animations module. The specificity of the selector that shows the sidenav was decreased which meant that the RTL styles were overriding it. Fixes #30422. (cherry picked from commit 04ae202)
1 parent 6bd3761 commit 6d96869

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/material/sidenav/drawer.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,8 @@ $drawer-over-drawer-z-index: 4;
230230
}
231231
}
232232

233-
&.mat-drawer-opened {
233+
// Needs additional specificity to override the RTL styles.
234+
&.mat-drawer-opened.mat-drawer-opened {
234235
transform: none;
235236
}
236237
}

0 commit comments

Comments
 (0)