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}
|
onMouseLeave={this.handleLikeButtonLeave}
|
||||||
ref={this.setRef}
|
ref={this.setRef}
|
||||||
>
|
>
|
||||||
{ emojiSelectorVisible &&
|
<EmojiSelector onReact={this.handleReactClick} visible={emojiSelectorVisible} />
|
||||||
<EmojiSelector onReact={this.handleReactClick} visible={emojiSelectorVisible} />
|
|
||||||
}
|
|
||||||
<IconButton
|
<IconButton
|
||||||
className='status__action-bar-button star-icon'
|
className='status__action-bar-button star-icon'
|
||||||
animate
|
animate
|
||||||
|
|
|
@ -311,9 +311,7 @@ class ActionBar extends React.PureComponent {
|
||||||
onMouseLeave={this.handleLikeButtonLeave}
|
onMouseLeave={this.handleLikeButtonLeave}
|
||||||
ref={this.setRef}
|
ref={this.setRef}
|
||||||
>
|
>
|
||||||
{ emojiSelectorVisible &&
|
<EmojiSelector onReact={this.handleReactClick} visible={emojiSelectorVisible} />
|
||||||
<EmojiSelector onReact={this.handleReactClick} visible={emojiSelectorVisible} />
|
|
||||||
}
|
|
||||||
<IconButton
|
<IconButton
|
||||||
className='star-icon'
|
className='star-icon'
|
||||||
animate
|
animate
|
||||||
|
|
Loading…
Reference in a new issue