mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 09:19:04 -04:00
parent
c89cca4061
commit
7530f37cc6
1 changed files with 3 additions and 1 deletions
|
@ -329,7 +329,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