PLT-7062 Moved emoji picker in RHS to attach to the body of the page (#6923)

Этот коммит содержится в:
Harrison Healey
2017-07-12 17:37:04 -04:00
коммит произвёл Saturnino Abril
родитель df3290c4cf
Коммит 26370f6eab
4 изменённых файлов: 30 добавлений и 34 удалений

Просмотреть файл

@@ -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='#'