Skip to content

Fix last message hidden behind floating prompt bar - #480

Open
efe-clk wants to merge 1 commit into
winfunc:mainfrom
efe-clk:fix/last-message-hidden-behind-prompt-bar
Open

efe-clk wants to merge 1 commit into
winfunc:mainfrom
efe-clk:fix/last-message-hidden-behind-prompt-bar

Conversation

@efe-clk

@efe-clk efe-clk commented Sep 23, 2026

Copy link
Copy Markdown

Summary

  • The chat messages list used a fixed pb-20 bottom padding, but the floating prompt input bar's real height varies (queued prompts, multi-line input, etc.), so the last message could render behind the bar.
  • Measures the prompt bar's actual height with a ResizeObserver and applies it as the list's paddingBottom dynamically, so the last message is always fully visible.

Test plan

  • Open a Claude Code session, send messages until the prompt bar grows (e.g. queue multiple prompts / multi-line input), and confirm the last message is no longer hidden behind the bar.
  • Resize the window and confirm padding stays in sync.

The messages list used a fixed pb-20 bottom padding while the floating
prompt input bar's actual height varies (queued prompts, multi-line
input, etc.), so the last message could end up rendered behind the bar.

Measure the prompt bar's real height with a ResizeObserver and use it
to size the list's bottom padding dynamically.
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