From 445dae8ce6c695899323424ff972090490d7685d Mon Sep 17 00:00:00 2001 From: Cee Chen Date: Tue, 24 Oct 2023 12:44:49 -0700 Subject: [PATCH] Remove `color` configuration from `panelProps` we're now overriding it via `background-color`, and it doesn't work to color the popover arrow in any case --- src/components/popover/popover.tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/components/popover/popover.tsx b/src/components/popover/popover.tsx index d8366f4a6e5..20022647df5 100644 --- a/src/components/popover/popover.tsx +++ b/src/components/popover/popover.tsx @@ -147,7 +147,10 @@ export interface EuiPopoverProps extends PropsWithChildren, CommonProps { /** * Object of props passed to EuiPanel. See #EuiPopoverPanelProps */ - panelProps?: Omit; + panelProps?: Omit< + EuiPopoverPanelProps, + 'style' | 'hasShadow' | 'hasBorder' | 'color' + >; panelRef?: RefCallback; /** * Optional screen reader instructions to announce upon popover open,