Skip to content

Commit aa0b5a8

Browse files
Maja Grubicelasticmachine
andauthored
[Filter Bar] Remove flickering when opening filter bar popover (#56222) (#56385)
Co-authored-by: Elastic Machine <[email protected]> Co-authored-by: Elastic Machine <[email protected]>
1 parent b64c6db commit aa0b5a8

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/plugins/data/public/ui/filter_bar/filter_bar.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ function FilterBarUI(props: Props) {
9696
withTitle
9797
panelPaddingSize="none"
9898
ownFocus={true}
99+
initialFocus=".filterEditor__hiddenItem"
99100
>
100101
<EuiFlexItem grow={false}>
101102
<div style={{ width: 400 }}>

src/plugins/data/public/ui/filter_bar/filter_editor/index.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ class FilterEditorUI extends Component<Props, State> {
9595
defaultMessage="Edit filter"
9696
/>
9797
</EuiFlexItem>
98+
<EuiFlexItem grow={false} className="filterEditor__hiddenItem" />
9899
<EuiFlexItem grow={false}>
99100
<EuiButtonEmpty size="xs" onClick={this.toggleCustomEditor}>
100101
{this.state.isCustomEditorOpen ? (

0 commit comments

Comments
 (0)