fix(desktop): align jump-to-latest pill with composer height - #6606
Draft
tellaho wants to merge 1 commit into
Draft
fix(desktop): align jump-to-latest pill with composer height#6606tellaho wants to merge 1 commit into
tellaho wants to merge 1 commit into
Conversation
Co-authored-by: Rizz <302abe414ca6e3134763d2539bfcf145aea2a63fe5f8455204ed602fd40cf381@buzz.block.builderlab.xyz> Signed-off-by: Rizz <302abe414ca6e3134763d2539bfcf145aea2a63fe5f8455204ed602fd40cf381@buzz.block.builderlab.xyz>
tellaho
marked this pull request as draft
August 23, 2026 07:11
tellaho
pushed a commit
that referenced
this pull request
Aug 23, 2026
tellaho
pushed a commit
that referenced
this pull request
Aug 23, 2026
tellaho
pushed a commit
that referenced
this pull request
Aug 23, 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.
Category: fix
User Impact: Jump to Latest now stays above the composer as a draft grows to multiple lines.
Problem: On WebKit, the pill's transform could retain a stale inherited composer-height value after the composer expanded, leaving the control stranded inside the composer.
Solution: Position and animate the pill with its absolute bottom offset, which consumes the live composer height through layout rather than a promoted transform layer. A smoke test now verifies that the pill rises by the full composer growth and remains clear of the composer.
File changes
desktop/src/features/messages/ui/MessageTimeline.tsx
Anchor Jump to Latest with a live bottom offset instead of a translated compositor layer so composer resizing reliably moves it.
desktop/tests/e2e/smoke.spec.ts
Add coverage that expands a detached timeline's composer and checks the pill tracks the full height increase without overlapping it.
Reproduction steps
Validation
pnpm --dir desktop test— 5,397 passedpnpm --dir desktop check— passed with four existing informational warnings outside this diffpnpm --dir desktop typecheck— passedpnpm --dir desktop exec playwright test tests/e2e/smoke.spec.ts --project=smoke— 26 passedScreenshots / Demos
Both captures use the same long, mid-history timeline and the same four-line composer.