Web composer improvements (#2257)
* Keep the emoji picker in the tablet width (close #1880) * Support pressing tab to select a mention (close #1831)zio/stable
parent
39a5a1e311
commit
d068cb1939
|
@ -452,7 +452,7 @@ export const ComposePost = observer(function ComposePost({
|
|||
<OpenCameraBtn gallery={gallery} />
|
||||
</>
|
||||
) : null}
|
||||
{isDesktop ? <EmojiPickerButton /> : null}
|
||||
{!isMobile ? <EmojiPickerButton /> : null}
|
||||
<View style={s.flex1} />
|
||||
<SelectLangBtn />
|
||||
<CharProgress count={graphemeLength} />
|
||||
|
|
|
@ -134,7 +134,7 @@ const MentionList = forwardRef<MentionListRef, SuggestionProps>(
|
|||
return true
|
||||
}
|
||||
|
||||
if (event.key === 'Enter') {
|
||||
if (event.key === 'Enter' || event.key === 'Tab') {
|
||||
enterHandler()
|
||||
return true
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue