Repository navigation
fix(mobile): float composer suggestions above the feed - #340
Merged
Merged
Conversation
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
This was referenced Nov 13, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
popmotion 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
bun install,bun run gen:check, root typecheck/lint/format check, web build, mobile typecheck andbunx expo lint.bun run check:tmp: 1730 passed, 161 skipped, 0 failed; temp check clean. No UI tests added.@, 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./commands,$skills,#threads and opening/closing with system animations disabled. Current!shell mode does not open a suggestions list. Self-review found no blockers.Copy audit: No UI text changed.