fix menu bug #503

This commit is contained in:
Baltazar Gomez 2017-08-27 15:50:35 -06:00 committed by GitHub
parent fb2b37c4f1
commit daabc1cf7e

View file

@ -69,7 +69,7 @@ export class DropDownMenu extends React.PureComponent {
});
}
handleWindowClick(e) {
handleWindowClick = (e) => {
if (
this.state.menuOpen &&
(!this._menuDiv || !this._menuDiv.contains(e.target))