Fix composer focus when using emoji picker and pressing Enter and upgrade focus-trap-react to 10.3.1

This commit is contained in:
ayumi-signal 2024-12-09 14:51:35 -08:00 committed by GitHub
parent cc3fe9f6fe
commit 025841e5bb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 15 additions and 14 deletions

View file

@ -405,6 +405,7 @@ export const EmojiPicker = React.memo(
<FocusTrap
focusTrapOptions={{
allowOutsideClick: true,
returnFocusOnDeactivate: false,
}}
>
<div className="module-emoji-picker" ref={ref} style={style}>