0
0
Fork 0

Fix ordering of keyboard access between CW field, textarea and emoji picker (#11066)

This commit is contained in:
ThibG 2019-06-13 17:07:43 +02:00 committed by Eugen Rochko
parent dd45c63921
commit b4d67fe57a
2 changed files with 1 additions and 14 deletions

View file

@ -210,10 +210,6 @@ class ComposeForm extends ImmutablePureComponent {
/>
</div>
<div className={`emoji-picker-wrapper ${this.props.showSearch ? 'emoji-picker-wrapper--hidden' : ''}`}>
<EmojiPickerDropdown onPickEmoji={this.handleEmojiPick} />
</div>
<AutosuggestTextarea
ref={this.setAutosuggestTextarea}
placeholder={intl.formatMessage(messages.placeholder)}
@ -229,6 +225,7 @@ class ComposeForm extends ImmutablePureComponent {
onPaste={onPaste}
autoFocus={!showSearch && !isMobile(window.innerWidth)}
>
<EmojiPickerDropdown onPickEmoji={this.handleEmojiPick} />
<div className='compose-form__modifiers'>
<UploadFormContainer />
<PollFormContainer />