Web composer improvements (#2257)
* Keep the emoji picker in the tablet width (close #1880) * Support pressing tab to select a mention (close #1831)
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user