Skip to content

🤯 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.

🐛 fix(Action): model params panel closes unexpectedly during auto-save (#14198)

sxjeru6b9584714d68
diff --git a/src/features/ChatInput/ActionBar/components/Action.tsx b/src/features/ChatInput/ActionBar/components/Action.tsx
index 25e786ad351..43df8696d27 100644
--- a/src/features/ChatInput/ActionBar/components/Action.tsx
+++ b/src/features/ChatInput/ActionBar/components/Action.tsx
@@ -70,7 +70,7 @@ const Action = memo<ActionProps>(
/>
);
- if (disabled || loading) return iconNode;
+ if (disabled) return iconNode;
if (dropdown)
return (
@@ -88,6 +88,7 @@ const Action = memo<ActionProps>(
if (popover)
return (
<ActionPopover
+ loading={loading}
open={show}
trigger={trigger}
onOpenChange={setShow}