fix: disable autofocus

This commit is contained in:
Shusui MOYATANI
2023-05-12 21:20:11 +09:00
parent 9253bb9554
commit dd64ef1724

View File

@@ -24,7 +24,7 @@ const EmojiPicker: Component<EmojiPickerProps> = (props) => {
const response = await fetch('https://cdn.jsdelivr.net/npm/@emoji-mart/data/i18n/ja.json'); const response = await fetch('https://cdn.jsdelivr.net/npm/@emoji-mart/data/i18n/ja.json');
return response.json(); return response.json();
}, },
autoFocus: true, autoFocus: false,
locale: 'ja', locale: 'ja',
theme: 'light', theme: 'light',
onEmojiSelect: (emoji: { id: string; native: string }) => { onEmojiSelect: (emoji: { id: string; native: string }) => {