fix repeated context menu interaction by not erroring

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
pull/21833/head
Michael Telatynski 2020-07-01 23:13:54 +01:00
parent e8702aafa5
commit 6424ffb22a
1 changed files with 1 additions and 3 deletions

View File

@ -125,9 +125,7 @@ export default class UserMenu extends React.Component<IProps, IState> {
}); });
}; };
private onCloseMenu = (ev: InputEvent) => { private onCloseMenu = () => {
ev.preventDefault();
ev.stopPropagation();
this.setState({contextMenuPosition: null}); this.setState({contextMenuPosition: null});
}; };