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