Merge branch 'main' into web-layout
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
@@ -76,7 +76,7 @@ export function EmojiPicker({close}: {close: () => void}) {
|
||||
return (await import('./EmojiPickerData.json')).default
|
||||
}}
|
||||
onEmojiSelect={onInsert}
|
||||
autoFocus={false}
|
||||
autoFocus={true}
|
||||
/>
|
||||
</View>
|
||||
</TouchableWithoutFeedback>
|
||||
|
||||
Reference in New Issue
Block a user