fix: don't overlap thinking banner over conversation

This commit is contained in:
Haileyesus
2026-07-02 21:10:18 +03:00
parent 41e0d309e0
commit 348427ce95
2 changed files with 12 additions and 1 deletions

View File

@@ -286,6 +286,11 @@ function ChatInterface({
handlePermissionDecision,
}), [pendingPermissionRequests, handlePermissionDecision]);
// Mirrors ChatComposer's own visibility check so the message pane can
// reserve enough bottom space to keep the floating status tab from
// overlapping the last message.
const hasActivityIndicator = Boolean(sessionActivity && pendingPermissionRequests.length === 0);
if (!selectedProject) {
const selectedProviderLabel =
provider === 'cursor'
@@ -321,6 +326,7 @@ function ChatInterface({
onTouchMove={handleScroll}
isLoadingSessionMessages={isLoadingSessionMessages}
isProcessing={isProcessing}
hasActivityIndicator={hasActivityIndicator}
chatMessages={chatMessages}
selectedSession={selectedSession}
currentSessionId={currentSessionId}