Update DropdownMenu.tsx
This commit is contained in:
parent
c63382532e
commit
34a46a388f
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue