mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
parent
3872a4e2e8
commit
375f9c61e1
1 changed files with 3 additions and 1 deletions
|
@ -318,7 +318,9 @@ export class QueryBarUI extends Component<Props, State> {
|
|||
};
|
||||
|
||||
public onOutsideClick = () => {
|
||||
this.setState({ isSuggestionsVisible: false, index: null });
|
||||
if (this.state.isSuggestionsVisible) {
|
||||
this.setState({ isSuggestionsVisible: false, index: null });
|
||||
}
|
||||
};
|
||||
|
||||
public onClickInput = (event: React.MouseEvent<HTMLInputElement>) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue