From 1499d6c60a0269c348ed1138bc20a524cb1ca5f2 Mon Sep 17 00:00:00 2001 From: Bojan Mojsilovic Date: Fri, 2 Feb 2024 19:22:00 +0100 Subject: [PATCH] Fix emoji box orientation threshold --- src/components/NewNote/EditBox/EditBox.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/NewNote/EditBox/EditBox.tsx b/src/components/NewNote/EditBox/EditBox.tsx index d884fa2..3732c1e 100644 --- a/src/components/NewNote/EditBox/EditBox.tsx +++ b/src/components/NewNote/EditBox/EditBox.tsx @@ -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'; }