Update DropdownMenu.tsx

This commit is contained in:
Dane Everitt 2020-07-11 11:19:27 -07:00
parent 117c1b1778
commit c63382532e
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53

View file

@ -64,9 +64,7 @@ class DropdownMenu extends React.PureComponent<Props, State> {
windowListener = (e: MouseEvent) => {
const menu = this.menu.current;
console.log('windowListener:', e.button);
if (e.button === 2 || !this.state.visible || !menu) {
return;
}