Skip to content

Commit

Permalink
fix(material/sidenav): end positioned sidenav not opening in RTL (#30427
Browse files Browse the repository at this point in the history
)

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.
  • Loading branch information
crisbeto authored Feb 2, 2025
1 parent 1b3c42e commit 04ae202
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/material/sidenav/drawer.scss
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,8 @@ $drawer-over-drawer-z-index: 4;
}
}

&.mat-drawer-opened {
// Needs additional specificity to override the RTL styles.
&.mat-drawer-opened.mat-drawer-opened {
transform: none;
}
}
Expand Down

0 comments on commit 04ae202

Please # to comment.