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} )