From 3a8dcae53a8756cdb97340bedb4dd32a6b21c17a Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Fri, 5 Dec 2025 16:45:38 +0200 Subject: [PATCH] fix(launch_bar): wrong position of dropdown --- apps/client/src/widgets/launch_bar/launch_bar_widgets.tsx | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/apps/client/src/widgets/launch_bar/launch_bar_widgets.tsx b/apps/client/src/widgets/launch_bar/launch_bar_widgets.tsx index 68c68868f..f8dbf2504 100644 --- a/apps/client/src/widgets/launch_bar/launch_bar_widgets.tsx +++ b/apps/client/src/widgets/launch_bar/launch_bar_widgets.tsx @@ -26,7 +26,7 @@ export function LaunchBarActionButton(props: Omit & { icon: string }) { +export function LaunchBarDropdownButton({ children, icon, dropdownOptions, ...props }: Pick & { icon: string }) { const { isHorizontalLayout } = useContext(LaunchBarContext); return ( @@ -37,6 +37,12 @@ export function LaunchBarDropdownButton({ children, icon, ...props }: Pick} titlePosition={isHorizontalLayout ? "bottom" : "right"} titleOptions={{ animation: false }} + dropdownOptions={{ + ...dropdownOptions, + popperConfig: { + placement: isHorizontalLayout ? "bottom" : "right" + } + }} {...props} >{children} )