Fix emoji box orientation threshold
This commit is contained in:
parent
e3bda9e793
commit
1499d6c60a
|
@ -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';
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue