From d076c5d7fa4cc3634f6c60024b94864fb219bfba Mon Sep 17 00:00:00 2001 From: Maja Grubic Date: Tue, 28 Jan 2020 19:30:40 +0000 Subject: [PATCH] [Filter Bar] Remove flickering when opening filter bar popover --- src/plugins/data/public/ui/filter_bar/filter_bar.tsx | 1 + src/plugins/data/public/ui/filter_bar/filter_editor/index.tsx | 1 + 2 files changed, 2 insertions(+) diff --git a/src/plugins/data/public/ui/filter_bar/filter_bar.tsx b/src/plugins/data/public/ui/filter_bar/filter_bar.tsx index 2f1b1f8588eb9..2aaceddd68f0c 100644 --- a/src/plugins/data/public/ui/filter_bar/filter_bar.tsx +++ b/src/plugins/data/public/ui/filter_bar/filter_bar.tsx @@ -96,6 +96,7 @@ function FilterBarUI(props: Props) { withTitle panelPaddingSize="none" ownFocus={true} + initialFocus=".filterEditor__hiddenItem" >
diff --git a/src/plugins/data/public/ui/filter_bar/filter_editor/index.tsx b/src/plugins/data/public/ui/filter_bar/filter_editor/index.tsx index b058d231b8306..b83c3a8e905dc 100644 --- a/src/plugins/data/public/ui/filter_bar/filter_editor/index.tsx +++ b/src/plugins/data/public/ui/filter_bar/filter_editor/index.tsx @@ -95,6 +95,7 @@ class FilterEditorUI extends Component { defaultMessage="Edit filter" /> + {this.state.isCustomEditorOpen ? (