Describe the bug
When giving hasShadow and/or hasBorder to the popover panel via the panelProps prop, you don't get the expected results. For example, when giving panelProps={{ hasShadow: false }} as a prop to EuiPopover...
| Actual |
Expected |
 |
 |
Environment and versions
- EUI version: 81.0.0
- Browser: Chrome
To Reproduce
Steps to reproduce the behavior:
- Create an
EuiPopover component and add panelProps={{ hasShadow: false }} as a prop
- Open the popover and notice that the shadow is still present 🔥
and/or...
- Create an
EuiPopover component and add panelProps={{ hasBorder: true }} as a prop
- Open the popover and notice that the panel does not have a border 🔥
Minimum reproducible sandbox
https://codesandbox.io/s/vibrant-tree-wc5i7g?file=/demo.js
Describe the bug
When giving
hasShadowand/orhasBorderto the popover panel via thepanelPropsprop, you don't get the expected results. For example, when givingpanelProps={{ hasShadow: false }}as a prop toEuiPopover...Environment and versions
To Reproduce
Steps to reproduce the behavior:
EuiPopovercomponent and addpanelProps={{ hasShadow: false }}as a propand/or...
EuiPopovercomponent and addpanelProps={{ hasBorder: true }}as a propMinimum reproducible sandbox
https://codesandbox.io/s/vibrant-tree-wc5i7g?file=/demo.js