Repository navigation
fix(capture): Pause/Resume stays under the pointer when the pill shows "Paused" - #178
Closed
boehlerlukas wants to merge 1 commit into
Closed
boehlerlukas wants to merge 1 commit into
boehlerlukas wants to merge 1 commit into
Conversation
…s "Paused" The centred recording pill widened by the "Paused" label to both sides, so Resume jumped ~27px right of where Pause was clicked; clicking the same spot again hit the timer. The pill now grows to the left (centred and dragged pills); phones keep the full-width docked pill. Found in the live E2E of capture UI v2 (10-12). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
Author
|
Combined into #180 (one PR for all live E2E fixes). |
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.
What was broken
Live E2E of Capture UI v2 (2026-10-12, SDK 19.3.0 from the CDN): while recording, clicking Pause adds the "Paused" label. The pill is centred (
left:50%; translateX(-50%),width:max-content), so it grew to both sides and the Pause/Resume button moved ~27px to the right. Clicking the same spot again to resume hit the timer instead (shotcapture-31-recording-paused-pill-grows). Report:design-handoffs/e2e-live-2026-10-12/capture.md.The fix
setPausedmeasures the pill's right edge before and after toggling the label and shifts the pill left by the difference (margin for the centred pill,position.leftfor a dragged one), so the buttons stay where they were. Phones (≤600px) keep the full-width docked pill untouched.Checks
npx jest: 31 suites / 524 tests pass.build/,published/) are not part of this PR — no release.(Branch is
fix-…with a dash: a remote branch namedfixblocksfix/…refs in this repo.)🤖 Generated with Claude Code