From d6aa6b22c794ed48f2937ea4a33f321d0b1f9b25 Mon Sep 17 00:00:00 2001 From: Elliott Marquez Date: Thu, 31 Aug 2023 16:14:06 -0700 Subject: [PATCH] fix(dialog, select): allow fixed selects to render correctly in dialogs PiperOrigin-RevId: 561788530 --- dialog/internal/_dialog.scss | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/dialog/internal/_dialog.scss b/dialog/internal/_dialog.scss index ccab43831c..2c57077cff 100644 --- a/dialog/internal/_dialog.scss +++ b/dialog/internal/_dialog.scss @@ -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. + z-index: 1; } .scrollable .scroller {