Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Try to fix scrollbar issues
  • Loading branch information
andrewserong committed Dec 23, 2021
commit f261d3b7b6d6e572e86dddd1f2d779da5bfa50ae
12 changes: 11 additions & 1 deletion packages/components/src/custom-select-control/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
max-height: 400px;
overflow: auto;
padding: 0;
margin: 0 -$border-width; // Allow width value to include the Popover border width.
margin: 0 (-$border-width); // Allow width value to include the Popover border width.
z-index: z-index(".components-popover");
}

Expand Down Expand Up @@ -78,3 +78,13 @@
margin-bottom: 0;
}
}

.components-custom-select-control__popover {
&.components-popover {
.components-popover__content {
// Prevent the Popover scrollbars so that
// the scrollbars are only handled by the Menu.
overflow: hidden;
}
}
}