Revert "only render emoji selector in the dom when needed"

This reverts commit 769a512445.
This commit is contained in:
Mary Kate 2020-08-10 15:06:39 -05:00
parent 42a7a61ce7
commit 5349045e51
2 changed files with 2 additions and 6 deletions

View file

@ -367,9 +367,7 @@ class StatusActionBar extends ImmutablePureComponent {
onMouseLeave={this.handleLikeButtonLeave}
ref={this.setRef}
>
{ emojiSelectorVisible &&
<EmojiSelector onReact={this.handleReactClick} visible={emojiSelectorVisible} />
}
<EmojiSelector onReact={this.handleReactClick} visible={emojiSelectorVisible} />
<IconButton
className='status__action-bar-button star-icon'
animate

View file

@ -311,9 +311,7 @@ class ActionBar extends React.PureComponent {
onMouseLeave={this.handleLikeButtonLeave}
ref={this.setRef}
>
{ emojiSelectorVisible &&
<EmojiSelector onReact={this.handleReactClick} visible={emojiSelectorVisible} />
}
<EmojiSelector onReact={this.handleReactClick} visible={emojiSelectorVisible} />
<IconButton
className='star-icon'
animate