Fix ordering of keyboard access between CW field, textarea and emoji picker

This commit is contained in:
ThibG
2021-08-28 14:26:20 +02:00
committed by marcin mikołajczak
parent 4b4e815e40
commit 2ef0cdb71b
3 changed files with 2 additions and 11 deletions

View File

@ -314,10 +314,6 @@ export default class ComposeForm extends ImmutablePureComponent {
/>
</div>
<div className='emoji-picker-wrapper'>
<EmojiPickerDropdown onPickEmoji={this.handleEmojiPick} />
</div>
<AutosuggestTextarea
ref={(isModalOpen && shouldCondense) ? null : this.setAutosuggestTextarea}
placeholder={intl.formatMessage(messages.placeholder)}
@ -333,6 +329,7 @@ export default class ComposeForm extends ImmutablePureComponent {
onPaste={onPaste}
autoFocus={shouldAutoFocus}
>
<EmojiPickerDropdown onPickEmoji={this.handleEmojiPick} />
{
!condensed &&
<div className='compose-form__modifiers'>