diff --git a/CHANGELOG.md b/CHANGELOG.md index 9872acd4ec7..3e6b712fd44 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,7 @@ - Changed `popout` glyph in `EuiIcon` to look more like external link ([2064](https://github.com/elastic/eui/pull/2064)) - Tweaked `SuperDatePicker` to make the start/end date selection more obvious ([#2049](https://github.com/elastic/eui/pull/2049)) - Added `toSentenceCase` string service ([#2049](https://github.com/elastic/eui/pull/2049)) +- Pass `EuiSuperSelect`'s `popoverClassName` to the popover's panel ([#2068](https://github.com/elastic/eui/pull/2068)) **Bug fixes** diff --git a/src/components/form/super_select/super_select.js b/src/components/form/super_select/super_select.js index 7ea860c41ba..c8507e8347b 100644 --- a/src/components/form/super_select/super_select.js +++ b/src/components/form/super_select/super_select.js @@ -176,6 +176,10 @@ export class EuiSuperSelect extends Component { popoverClassName ); + const popoverPanelClasses = classNames('euiSuperSelect__popoverPanel', { + [`${popoverClassName}__popoverPanel`]: !!popoverClassName, + }); + const buttonClasses = classNames( { 'euiSuperSelect--isOpen__button': this.state.isPopoverOpen, @@ -232,7 +236,7 @@ export class EuiSuperSelect extends Component {