EmojiSelector: ensure the full picker fits on the screen on mobile
This commit is contained in:
parent
23acbc115c
commit
0e7136ec04
1 changed files with 6 additions and 0 deletions
|
@ -111,6 +111,12 @@ const EmojiSelector: React.FC<IEmojiSelector> = ({
|
|||
}
|
||||
}, [visible, update]);
|
||||
|
||||
useEffect(() => {
|
||||
if (expanded && update) {
|
||||
update();
|
||||
}
|
||||
}, [expanded, update]);
|
||||
|
||||
return (
|
||||
<div
|
||||
className={clsx('z-[101] transition-opacity duration-100', {
|
||||
|
|
Loading…
Reference in a new issue