Fix emoji box orientation threshold

This commit is contained in:
Bojan Mojsilovic 2024-02-02 19:22:00 +01:00
parent e3bda9e793
commit 1499d6c60a
1 changed files with 1 additions and 1 deletions

View File

@ -1223,7 +1223,7 @@ const EditBox: Component<{
const determineOrient = () => {
const coor = getScreenCordinates(emojiPicker);
const height = 226;
const height = 326;
return (coor.y || 0) + height < window.innerHeight + window.scrollY ? 'down' : 'up';
}