Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CustomSelectControlV2: Fix styling issues #62424

4 changes: 4 additions & 0 deletions packages/components/src/custom-select-control-v2/styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,10 @@ export const SelectPopover = styled( Ariakit.SelectPopover )`
border-radius: 2px;
background: ${ COLORS.theme.background };
border: 1px solid ${ COLORS.theme.foreground };
z-index: 9999; // Ensure the popover is on top
ciampo marked this conversation as resolved.
Show resolved Hide resolved
position: absolute !important;
ciampo marked this conversation as resolved.
Show resolved Hide resolved
max-height: 400px;
ciampo marked this conversation as resolved.
Show resolved Hide resolved
overflow: auto;
ciampo marked this conversation as resolved.
Show resolved Hide resolved

&[data-focus-visible] {
outline: none; // outline will be on the trigger, rather than the popover
Expand Down
Loading