feat: auto focus emoji-picker search when opened (#894)

Co-authored-by: JonasRingeis <jonas.ringeis@otto.de>
This commit is contained in:
GlitchDev 2025-03-15 19:25:01 +01:00 committed by GitHub
parent d021d0a38f
commit 573457403e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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"