Skip to content

An AI-powered search engine with a generative UI

fix: prevent header click from toggling collapse

Yoshiki Miura4bb852aaf15c
diff --git a/components/reasoning-section.tsx b/components/reasoning-section.tsx
index 37503d2f..388a3373 100644
--- a/components/reasoning-section.tsx
+++ b/components/reasoning-section.tsx
@@ -132,6 +132,7 @@ export function ReasoningSection({
showIcon={showIcon}
variant={variant}
showSeparator={false}
+ headerClickBehavior="split"
>
<div className="flex">
{/* Rail space - always reserved when grouped */}
diff --git a/components/search-section.tsx b/components/search-section.tsx
index 3af768e0..41574fb8 100644
--- a/components/search-section.tsx
+++ b/components/search-section.tsx
@@ -106,6 +106,7 @@ export function SearchSection({
showBorder={!borderless}
variant="default"
showSeparator={false}
+ headerClickBehavior="split"
>
<div className="flex">
{/* Rail space - always reserved when grouped */}
diff --git a/components/tool-todo-display.tsx b/components/tool-todo-display.tsx
index 8d5e23c6..bd12be9b 100644
--- a/components/tool-todo-display.tsx
+++ b/components/tool-todo-display.tsx
@@ -126,6 +126,7 @@ export function ToolTodoDisplay({
showIcon={false}
variant="default"
showSeparator={false}
+ headerClickBehavior="split"
>
<div className="flex">
{/* Rail space - always reserved when grouped */}