Skip to content

Flip layout: input below response like Google AI mode#612

Merged
asim merged 1 commit into
mainfrom
claude/add-wallet-transfers-74PHC
Jun 6, 2026
Merged

Flip layout: input below response like Google AI mode#612
asim merged 1 commit into
mainfrom
claude/add-wallet-transfers-74PHC

Conversation

@asim
Copy link
Copy Markdown
Member

@asim asim commented Jun 6, 2026

The prompt now flips position after the first response:

  • Empty state: suggestions centred above, input below
  • After first response: response above, input below
  • Follow-ups: answers append above input, input stays at bottom

Like every chat interface — you type at the bottom, content scrolls up. The input auto-scrolls into view after each answer so you never lose it below the keyboard.

Suggestions are centred above the input in the empty state and hidden once there's a response. Response area sits above the form and persists via localStorage.

Scroll behavior: form.scrollIntoView({block:'center'}) fires after answer renders, keeping the input visible mid-page.

The prompt now flips position after the first response:
- Empty state: suggestions centred above, input below
- After first response: response above, input below
- Follow-ups: answers append above input, input stays at bottom

Like every chat interface — you type at the bottom, content
scrolls up. The input auto-scrolls into view after each answer
so you never lose it below the keyboard.

Suggestions are centred above the input in the empty state and
hidden once there's a response. Response area sits above the
form and persists via localStorage.

Scroll behavior: form.scrollIntoView({block:'center'}) fires
after answer renders, keeping the input visible mid-page.
@asim asim merged commit c4177bf into main Jun 6, 2026
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.

2 participants