Skip to content

fix(sessions): scroll Claude's questions on the enlarged page - #10

Merged
MF-DEEV merged 2 commits into
mainfrom
fix/session-question-scroll
Oct 23, 2026
Merged

MF-DEEV merged 2 commits into
mainfrom
fix/session-question-scroll

Conversation

@MF-DEEV

@MF-DEEV MF-DEEV commented Oct 23, 2026

Copy link
Copy Markdown
Owner

Problem

On the enlarged session page, the "Claude asks" card sat straight in the page's stack with no scroll view. With four questions it ran taller than the island, so the last questions, Skip/Answer, the conversation and the reply field were cut off with no way to reach them. The compact page already scrolled.

Fix

  • The waiting card (questions or a tool request) keeps its own height up to 60% of the page and scrolls past that (NotchClaudeFittedScroll).
  • It also gives way to the header, the reply field and 80 pt of conversation, so the largest text size or added images cannot push the reply off a short screen.
  • A new request, or switching straight to another waiting session, opens the card at its top instead of where the previous one was left scrolled.

Testing

  • ./build.sh --dev builds; ./build.sh --dev --test passes except Tests/NotchCompactTests.swift:337, which also fails on clean main (clipboard history, unrelated).
  • On the installed dev build with a throwaway session asking 4 long questions: the card opens at its top, scrolls with the wheel to the last question and Skip/Answer, and the conversation and reply field stay visible.
  • The scroll reset was checked in a standalone SwiftUI harness: before the fix a card scrolled to 200 stayed at 200 on a new request; after it, it returns to 0. Not exercised on the island itself (switching sessions directly needs the closed island's strip or a notice).
  • The short-screen limit is reasoned from the layout, not seen on a small display.

Not changed

  • Scrolled part-way, the card's rounded border is cut at the scroll edges (the border belongs to the card, which the compact page shares).

Several questions ran taller than the island, so the last ones, the
answer buttons, the conversation and the reply field fell off the page.
The card keeps its own height up to 60% of the page and scrolls past it.
…rt screens

The card's scroll outlived the request it showed, so the next request,
or another waiting session's, opened where the last one was left. A new
request now opens at its top. The card also gives way to the header,
the reply and some of the conversation, so large text or added images
cannot push the reply off a short screen.
@MF-DEEV
MF-DEEV marked this pull request as ready for review October 23, 2026 17:05
@MF-DEEV
MF-DEEV merged commit 482540d into main Oct 23, 2026
0 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant