Skip to content

fix(mobile): float composer suggestions above the feed - #340

Merged
nixuuu merged 1 commit into
devfrom
fix/mobile-suggestions-overlay
Nov 7, 2026
Merged

nixuuu merged 1 commit into
devfrom
fix/mobile-suggestions-overlay

Conversation

@nixuuu

@nixuuu nixuuu commented Nov 7, 2026

Copy link
Copy Markdown
Member

Opening or filtering mobile composer suggestions used to change the measured composer height and the timeline's bottom reserve, moving the conversation behind the panel. Suggestions now occupy a bounded overlay above the composer, outside its measured box, so opening, loading, filtering, resizing and closing the panel leave the feed stationary.

The overlay stays below the header and above the keyboard, with a 240 dp maximum height and internal scrolling. It uses the existing pop motion and switches instantly with reduced motion. Scrolling and selecting suggestions preserve input focus and the keyboard. Bot chat has no suggestions panel; its model/effort sheets remain unchanged. Updated the mobile layout documentation.

Related: #308

Verification

  • All requested gates passed: bun install, bun run gen:check, root typecheck/lint/format check, web build, mobile typecheck and bunx expo lint. bun run check:tmp: 1730 passed, 161 skipped, 0 failed; temp check clean. No UI tests added.
  • Built an arm64 Android development client locally and verified on Medium Phone and unfolded Canopy Fold against an isolated gateway, scripted worker and Postgres fixture with 24 completed turns and 40 file-search entries. Keyboard open, light and dark: open @, type a filter, wait for delayed results, shrink to one result/empty results, then close. Latest-message bounds stayed identical throughout each sequence; before/after visible-feed crops had zero pixel differences on both devices in both themes.
  • Also verified internal list scrolling, file selection with keyboard/input focus retained, / commands, $ skills, # threads and opening/closing with system animations disabled. Current ! shell mode does not open a suggestions list. Self-review found no blockers.
  • iOS remains unverified: the installed simulator app cannot load the development bundle; no build was run on the Mac. The isolated fixture, port forwards, containers, development server and generated Android build output were cleaned up; existing emulators were preserved.

Copy audit: No UI text changed.

Keep suggestions outside the measured composer so loading and filtering never change the feed reserve. Bound the overlay to the available safe area and preserve keyboard focus while scrolling or selecting.

Related: #308
@nixuuu
nixuuu merged commit 83c766c into dev Nov 7, 2026
9 checks passed
@nixuuu
nixuuu deleted the fix/mobile-suggestions-overlay branch November 7, 2026 13:57
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