From 34a46a388fe19cad6f94d32a9a3baca61a0c4f64 Mon Sep 17 00:00:00 2001 From: Dane Everitt Date: Sat, 11 Jul 2020 11:19:38 -0700 Subject: [PATCH] Update DropdownMenu.tsx --- resources/scripts/components/elements/DropdownMenu.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/scripts/components/elements/DropdownMenu.tsx b/resources/scripts/components/elements/DropdownMenu.tsx index b64333c00..ccf16ee6e 100644 --- a/resources/scripts/components/elements/DropdownMenu.tsx +++ b/resources/scripts/components/elements/DropdownMenu.tsx @@ -64,7 +64,7 @@ class DropdownMenu extends React.PureComponent { windowListener = (e: MouseEvent) => { const menu = this.menu.current; - + if (e.button === 2 || !this.state.visible || !menu) { return; }