Skip to content

Commit

Permalink
Remove color configuration from panelProps
Browse files Browse the repository at this point in the history
we're now overriding it via `background-color`, and it doesn't work to color the popover arrow in any case
  • Loading branch information
cee-chen committed Oct 24, 2023
1 parent 03f8f15 commit 445dae8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/components/popover/popover.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,10 @@ export interface EuiPopoverProps extends PropsWithChildren, CommonProps {
/**
* Object of props passed to EuiPanel. See #EuiPopoverPanelProps
*/
panelProps?: Omit<EuiPopoverPanelProps, 'style' | 'hasShadow' | 'hasBorder'>;
panelProps?: Omit<
EuiPopoverPanelProps,
'style' | 'hasShadow' | 'hasBorder' | 'color'
>;
panelRef?: RefCallback<HTMLElement | null>;
/**
* Optional screen reader instructions to announce upon popover open,
Expand Down

0 comments on commit 445dae8

Please sign in to comment.