🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.
TypeScript agentagent-collaborationagent-harnessloop-engineeringmcppersonal-assistantproactive-agentskillssuper-agenttask-management
🐛 fix(chat-input): allow submenu to close on sibling-open and focus-out in ActionDropdown (#14802)
Innei55b4842f009e
diff --git a/src/features/ChatInput/ActionBar/components/ActionDropdown.tsx b/src/features/ChatInput/ActionBar/components/ActionDropdown.tsxindex 46e49e94f24..db58dd670c3 100644--- a/src/features/ChatInput/ActionBar/components/ActionDropdown.tsx+++ b/src/features/ChatInput/ActionBar/components/ActionDropdown.tsx@@ -260,16 +260,6 @@ const ActionDropdown = memo<ActionDropdownProps>(return {...item,children: decorateMenuItems(item.children),- onOpenChange: (subOpen: boolean, details: unknown) => {- if (!subOpen) {- const reason = (details as { reason?: string })?.reason;- if (reason === 'sibling-open' || reason === 'focus-out') {- (details as { cancel?: () => void })?.cancel?.();- return;- }- }- originalOnOpenChange?.(subOpen, details);- },type: 'submenu',};}