Skip to content

Commit

Permalink
[Filter Bar] Remove flickering when opening filter bar popover
Browse files Browse the repository at this point in the history
  • Loading branch information
Maja Grubic committed Jan 28, 2020
1 parent 94297f3 commit d076c5d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/plugins/data/public/ui/filter_bar/filter_bar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ function FilterBarUI(props: Props) {
withTitle
panelPaddingSize="none"
ownFocus={true}
initialFocus=".filterEditor__hiddenItem"
>
<EuiFlexItem grow={false}>
<div style={{ width: 400 }}>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ class FilterEditorUI extends Component<Props, State> {
defaultMessage="Edit filter"
/>
</EuiFlexItem>
<EuiFlexItem grow={false} className="filterEditor__hiddenItem" />
<EuiFlexItem grow={false}>
<EuiButtonEmpty size="xs" onClick={this.toggleCustomEditor}>
{this.state.isCustomEditorOpen ? (
Expand Down

0 comments on commit d076c5d

Please sign in to comment.