From 5e1b7823f649e5d136c19a78d6c2ee22d2176703 Mon Sep 17 00:00:00 2001 From: Douglas Fabris Date: Wed, 20 Mar 2024 13:27:32 -0300 Subject: [PATCH] regression: `EmojiPicker` wrong placement (#32037) --- .../views/composer/EmojiPicker/EmojiPickerDesktopDropdown.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/meteor/client/views/composer/EmojiPicker/EmojiPickerDesktopDropdown.tsx b/apps/meteor/client/views/composer/EmojiPicker/EmojiPickerDesktopDropdown.tsx index cac9411fd001..09be2a1ac603 100644 --- a/apps/meteor/client/views/composer/EmojiPicker/EmojiPickerDesktopDropdown.tsx +++ b/apps/meteor/client/views/composer/EmojiPicker/EmojiPickerDesktopDropdown.tsx @@ -25,7 +25,7 @@ const useDropdownPosition = (reference: RefObject, target: RefObjec const placement = useMemo(() => { if (refTop >= viewHeight / 2) { - return 'top-end'; + return 'top-start'; } return 'bottom-end'; }, [targetHeight, refTop]);