+
+ {/* Hidden file input used by the ActionStrip attach button. The
+ ChatInput popover has its own attach flow; this one is for the
+ action-strip affordance. */}
+ {
+ const files = Array.from(e.target.files ?? []);
+ if (files.length > 0) handleFilesPicked(files);
+ e.target.value = "";
+ }}
/>
- {/* Chat area */}
-