Revert "only render emoji selector in the dom when needed"
This reverts commit 769a512445
.
This commit is contained in:
parent
42a7a61ce7
commit
5349045e51
2 changed files with 2 additions and 6 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue