fix: remove first rendering with 0 width
This commit is contained in:
parent
c79e291a66
commit
9d859c205a
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue