Skip to content
Snippets Groups Projects
Unverified Commit 5e1b7823 authored by Douglas Fabris's avatar Douglas Fabris Committed by GitHub
Browse files

regression: `EmojiPicker` wrong placement (#32037)

parent 690e196e
No related branches found
No related tags found
No related merge requests found
......@@ -25,7 +25,7 @@ const useDropdownPosition = (reference: RefObject<HTMLElement>, target: RefObjec
const placement = useMemo(() => {
if (refTop >= viewHeight / 2) {
return 'top-end';
return 'top-start';
}
return 'bottom-end';
}, [targetHeight, refTop]);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment