feat: auto focus emoji-picker search when opened

This commit is contained in:
JonasRingeis 2025-03-14 21:58:36 +01:00
parent 210d1474ea
commit 441cb4046e

View File

@ -72,6 +72,7 @@ function EmojiPicker({
<Suspense fallback={null}>
<Picker
data={async () => (await import("@emoji-mart/data")).default}
autoFocus={true}
onEmojiSelect={handleEmojiSelect}
perLine={8}
skinTonePosition="search"