EmojiSelector: ensure the full picker fits on the screen on mobile

environments/review-picker-mob-g49fdm/deployments/2642
Alex Gleason 2023-02-14 15:18:56 -06:00
rodzic 23acbc115c
commit 0e7136ec04
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 7211D1F99744FBB7
1 zmienionych plików z 6 dodań i 0 usunięć

Wyświetl plik

@ -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', {