From e2d65222a24674a1206138bc1f54e4a41baaae72 Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Wed, 8 Jul 2020 18:59:27 +0100 Subject: [PATCH] Don't render the context menu within its trigger otherwise unhandled clicks will re-trigger Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> --- src/components/structures/UserMenu.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/structures/UserMenu.tsx b/src/components/structures/UserMenu.tsx index 0cc312d653..9f69ad6eca 100644 --- a/src/components/structures/UserMenu.tsx +++ b/src/components/structures/UserMenu.tsx @@ -347,8 +347,8 @@ export default class UserMenu extends React.Component { {name} {buttons} - {this.renderContextMenu()} + {this.renderContextMenu()} ); }