fix: remove first rendering with 0 width

This commit is contained in:
RadoslavDimchev 2024-01-23 20:46:49 +02:00
parent c79e291a66
commit 9d859c205a
1 changed files with 4 additions and 0 deletions

View File

@ -32,6 +32,10 @@ const EmojiPickerDialog = ({ emojiStyle, changeEmoji }: EmojiPickerProps) => {
}
}
if (windowSize.width === 0) {
return null
}
return (
<Stack position="absolute" zIndex={1} left={100} top={-150}>
<EmojiPicker