summaryrefslogtreecommitdiffstats
path: root/webapp/components/rhs_root_post.jsx
diff options
context:
space:
mode:
authorHarrison Healey <harrisonmhealey@gmail.com>2017-07-12 17:37:04 -0400
committerSaturnino Abril <saturnino.abril@gmail.com>2017-07-13 06:37:04 +0900
commit26370f6eabe17744f8d23b5f815632cf7493387b (patch)
tree1c0587080760c2f35900839676438d5d162a059c /webapp/components/rhs_root_post.jsx
parentdf3290c4cf93101b5104e7395d9a0af208eff513 (diff)
downloadchat-26370f6eabe17744f8d23b5f815632cf7493387b.tar.gz
chat-26370f6eabe17744f8d23b5f815632cf7493387b.tar.bz2
chat-26370f6eabe17744f8d23b5f815632cf7493387b.zip
PLT-7062 Moved emoji picker in RHS to attach to the body of the page (#6923)
Diffstat (limited to 'webapp/components/rhs_root_post.jsx')
-rw-r--r--webapp/components/rhs_root_post.jsx6
1 files changed, 3 insertions, 3 deletions
diff --git a/webapp/components/rhs_root_post.jsx b/webapp/components/rhs_root_post.jsx
index 352de0c67..fa72da167 100644
--- a/webapp/components/rhs_root_post.jsx
+++ b/webapp/components/rhs_root_post.jsx
@@ -38,8 +38,7 @@ export default class RhsRootPost extends React.Component {
isFlagged: PropTypes.bool,
status: PropTypes.string,
previewCollapsed: PropTypes.string,
- isBusy: PropTypes.bool,
- getPostList: PropTypes.func.isRequired
+ isBusy: PropTypes.bool
}
static defaultProps = {
@@ -226,9 +225,10 @@ export default class RhsRootPost extends React.Component {
show={this.state.showEmojiPicker}
onHide={this.toggleEmojiPicker}
target={() => this.refs.dotMenu}
- container={this.props.getPostList}
onEmojiClick={this.reactEmojiClick}
rightOffset={15}
+ spaceRequiredAbove={342}
+ spaceRequiredBelow={342}
/>
<a
href='#'