From 26370f6eabe17744f8d23b5f815632cf7493387b Mon Sep 17 00:00:00 2001 From: Harrison Healey Date: Wed, 12 Jul 2017 17:37:04 -0400 Subject: PLT-7062 Moved emoji picker in RHS to attach to the body of the page (#6923) --- webapp/components/rhs_root_post.jsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'webapp/components/rhs_root_post.jsx') 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} />