Skip to content

Commit

Permalink
Don't return focus to emoji button
Browse files Browse the repository at this point in the history
  • Loading branch information
estrattonbailey committed Dec 20, 2024
1 parent 8da2234 commit 3fe55d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/view/com/composer/text-input/web/EmojiPicker.web.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ export function EmojiPicker({state, close, pinToTop}: IProps) {

return (
<Portal>
<FocusScope loop trapped>
<FocusScope loop trapped onUnmountAutoFocus={e => e.preventDefault()}>
<Pressable
accessible
accessibilityLabel={_(msg`Close emoji picker`)}
Expand Down

0 comments on commit 3fe55d8

Please sign in to comment.