Update DropdownMenu.tsx

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

View file

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