Skip to content

Commit

Permalink
fix(dialog, select): allow fixed selects to render correctly in dialogs
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 561788530
  • Loading branch information
e111077 authored and Copybara-Service committed Aug 31, 2023
1 parent b85b57f commit d6aa6b2
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion dialog/internal/_dialog.scss
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,10 @@
flex: 1;
flex-direction: column;
overflow: hidden;
z-index: 0; // needed to display scrollbars on Chrome linux
// needed to display scrollbars on Chrome linux. Also needs to be > 0 so
// that content that is position: fixed in the content can render above the
// actions bar. e.g. <md-select menu-fixed>
z-index: 1;
}

.scrollable .scroller {
Expand Down

0 comments on commit d6aa6b2

Please sign in to comment.