From a84a3c4780bece5778d9e4fabcb5856ec284928b Mon Sep 17 00:00:00 2001 From: Agusti Bau Date: Sat, 2 May 2020 13:12:31 +0200 Subject: [PATCH] hide badge when context menu is open --- src/components/views/elements/TagTile.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/views/elements/TagTile.js b/src/components/views/elements/TagTile.js index 848dc797a2..0f98971198 100644 --- a/src/components/views/elements/TagTile.js +++ b/src/components/views/elements/TagTile.js @@ -143,7 +143,7 @@ export default createReactClass({ const badge = TagOrderStore.getGroupBadge(this.props.tag); let badgeElement; - if (badge && !this.state.hover) { + if (badge && !this.state.hover && !this.props.menuDisplayed) { const badgeClasses = classNames({ "mx_TagTile_badge": true, "mx_TagTile_badgeHighlight": badge.highlight,