Skip to content

fix(ios): anchor the composer suggestion popup flush above the input - #328

Open
kingbootoshi wants to merge 1 commit into
0xSero:mainfrom
kingbootoshi:feat/composer-popup-position
Open

fix(ios): anchor the composer suggestion popup flush above the input#328
kingbootoshi wants to merge 1 commit into
0xSero:mainfrom
kingbootoshi:feat/composer-popup-position

Conversation

@kingbootoshi

Copy link
Copy Markdown

Anchors the composer suggestion popup (slash commands, files, skills) directly above the composer card instead of floating with hardcoded bottom padding, and unifies the slash + skill rows onto one shared row component. Net -5 lines.

Root cause of the old gap: dead .padding(.bottom, 4 + 56) left over from the previous bottom-anchored design. The popup now derives its position from the composer's own metrics - the visible gap is exactly the entry row's 6pt top padding, and horizontal insets match the card's 10pt inset. / and $ rows now share identical font, spacing, and padding.

Demo

composer-popup-position.mp4

🤖 Generated with Claude Code

The slash, file, and skill suggestion lists were bottom-anchored onto
the composer container, covering the text field the user is typing
into. Anchor the popup's bottom edge to the composer's top edge so
suggestions float over the transcript and the draft stays visible.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
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