mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
Fixed search autocomplete click handling
This commit is contained in:
@@ -62,7 +62,7 @@ export default class SearchAutocomplete extends React.Component {
|
||||
}
|
||||
|
||||
handleDocumentClick(e) {
|
||||
const container = $(ReactDOM.findDOMNode(this.refs.container));
|
||||
const container = $(ReactDOM.findDOMNode(this.refs.searchPopover));
|
||||
|
||||
if (!(container.is(e.target) || container.has(e.target).length > 0)) {
|
||||
this.setState({
|
||||
|
||||
Reference in New Issue
Block a user