fix menu bug #503
This commit is contained in:
parent
fb2b37c4f1
commit
daabc1cf7e
1 changed files with 1 additions and 1 deletions
|
@ -69,7 +69,7 @@ export class DropDownMenu extends React.PureComponent {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
handleWindowClick(e) {
|
handleWindowClick = (e) => {
|
||||||
if (
|
if (
|
||||||
this.state.menuOpen &&
|
this.state.menuOpen &&
|
||||||
(!this._menuDiv || !this._menuDiv.contains(e.target))
|
(!this._menuDiv || !this._menuDiv.contains(e.target))
|
||||||
|
|
Loading…
Reference in a new issue