From 651c539753ab5248313aee55c6519da5b1389973 Mon Sep 17 00:00:00 2001 From: Chandler Prall Date: Wed, 8 Aug 2018 10:14:59 -0600 Subject: [PATCH 1/3] Add zIndexAdjustment prop to EuiPopover --- .../__snapshots__/collapsed_item_actions.test.js.snap | 1 + .../basic_table/__snapshots__/in_memory_table.test.js.snap | 1 + src/components/popover/popover.js | 6 +++++- .../__snapshots__/field_value_selection_filter.test.js.snap | 4 ++++ src/services/popover/popover_positioning.js | 6 +++--- 5 files changed, 14 insertions(+), 4 deletions(-) diff --git a/src/components/basic_table/__snapshots__/collapsed_item_actions.test.js.snap b/src/components/basic_table/__snapshots__/collapsed_item_actions.test.js.snap index 3e3483542f80..e4d00029f086 100644 --- a/src/components/basic_table/__snapshots__/collapsed_item_actions.test.js.snap +++ b/src/components/basic_table/__snapshots__/collapsed_item_actions.test.js.snap @@ -21,6 +21,7 @@ exports[`CollapsedItemActions render 1`] = ` ownFocus={false} panelPaddingSize="none" popoverRef={[Function]} + zIndexAdjustment={0} >
Date: Wed, 8 Aug 2018 10:18:45 -0600 Subject: [PATCH 2/3] changelog --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 556b9aa40227..27ba7eb1591c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,7 @@ - Added `string` to allowed `restrictWidth` prop type of `EuiPage` and `EuiPageBody` ([#1090](https://github.com/elastic/eui/pull/1090)) - Added `.eui-textBreakNormal` and `@mixin euiTextTruncate` as CSS/SASS utilities ([#1092](https://github.com/elastic/eui/pull/1092)) - Added `fullWidth` support to `EuiComboBox` ([#1095](https://github.com/elastic/eui/pull/1095)) +- Added `zIndexAdjustment` to `EuiPopover` which allows tweaking the popover content's `z-index` ([#1097](https://github.com/elastic/eui/pull/1097)) **Bug fixes** From 69820a496b21c7d81500c7c429c7ee4c232e08a6 Mon Sep 17 00:00:00 2001 From: Chandler Prall Date: Thu, 9 Aug 2018 10:19:38 -0600 Subject: [PATCH 3/3] change popover zindex prop to a full override --- .../__snapshots__/collapsed_item_actions.test.js.snap | 1 - .../__snapshots__/in_memory_table.test.js.snap | 1 - src/components/popover/popover.js | 11 ++++++----- .../field_value_selection_filter.test.js.snap | 4 ---- src/services/popover/popover_positioning.js | 6 +++--- 5 files changed, 9 insertions(+), 14 deletions(-) diff --git a/src/components/basic_table/__snapshots__/collapsed_item_actions.test.js.snap b/src/components/basic_table/__snapshots__/collapsed_item_actions.test.js.snap index e4d00029f086..3e3483542f80 100644 --- a/src/components/basic_table/__snapshots__/collapsed_item_actions.test.js.snap +++ b/src/components/basic_table/__snapshots__/collapsed_item_actions.test.js.snap @@ -21,7 +21,6 @@ exports[`CollapsedItemActions render 1`] = ` ownFocus={false} panelPaddingSize="none" popoverRef={[Function]} - zIndexAdjustment={0} >