Merge branch 'picker-mobile' into 'develop'
EmojiSelector: ensure the full picker fits on the screen on mobile See merge request soapbox-pub/soapbox!2291
This commit is contained in:
commit
67bf9a7b20
1 changed files with 6 additions and 0 deletions
|
@ -111,6 +111,12 @@ const EmojiSelector: React.FC<IEmojiSelector> = ({
|
||||||
}
|
}
|
||||||
}, [visible, update]);
|
}, [visible, update]);
|
||||||
|
|
||||||
|
useEffect(() => {
|
||||||
|
if (expanded && update) {
|
||||||
|
update();
|
||||||
|
}
|
||||||
|
}, [expanded, update]);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div
|
<div
|
||||||
className={clsx('z-[101] transition-opacity duration-100', {
|
className={clsx('z-[101] transition-opacity duration-100', {
|
||||||
|
|
Loading…
Reference in a new issue