From 769a5124451cc03231e2bfa4d4977517a3cd6048 Mon Sep 17 00:00:00 2001 From: Mary Kate Date: Wed, 5 Aug 2020 15:53:30 -0500 Subject: [PATCH] only render emoji selector in the dom when needed --- app/soapbox/components/status_action_bar.js | 4 +++- app/soapbox/features/status/components/action_bar.js | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/app/soapbox/components/status_action_bar.js b/app/soapbox/components/status_action_bar.js index 1ee84ca00..579617145 100644 --- a/app/soapbox/components/status_action_bar.js +++ b/app/soapbox/components/status_action_bar.js @@ -367,7 +367,9 @@ class StatusActionBar extends ImmutablePureComponent { onMouseLeave={this.handleLikeButtonLeave} ref={this.setRef} > - + { emojiSelectorVisible && + + } - + { emojiSelectorVisible && + + }