Skip to content

fix(workspace): keep thread details steady when collapsing - #1311

Merged
nixuuu merged 1 commit into
devfrom
fix/collapse-transition-glitch
Nov 26, 2026
Merged

nixuuu merged 1 commit into
devfrom
fix/collapse-transition-glitch

Conversation

@nixuuu

@nixuuu nixuuu commented Nov 26, 2026

Copy link
Copy Markdown
Member

Changes

The docked Thread details card switched to the popover position and styling as soon as it began to fade. The pill appeared over the outgoing header.

  • Keep the card anchored in the top-right corner throughout the transition. Fade the card and pill in sequence using the existing motion tokens.
  • Move keyboard focus to the card header when it opens and back to the pill on Escape.
  • Document the animation and reduced-motion behavior.

Fixes: #734

Verification

  • Checked the component in Chromium at desktop width in light and dark themes. Sampled the transitions frame by frame for a stable anchor and no overlap between labels. Verified Escape, focus return, and quick reopening.
  • Checked the popover at 700 px with a long branch label and the sheet at 390 px. Verified the instant swap with the reduced-motion CSS rules active.
  • Web typecheck, lint on the edited Svelte components, formatting of the edited code, and git diff --check passed locally. GitHub Actions runs the full gate.

Keep the docked card anchored through both transitions and fade the card and pill in sequence. Restore keyboard focus on open.

Fixes: #734
@nixuuu
nixuuu enabled auto-merge (squash) November 26, 2026 13:46
@nixuuu
nixuuu merged commit 1074130 into dev Nov 26, 2026
11 checks passed
@nixuuu
nixuuu deleted the fix/collapse-transition-glitch branch November 26, 2026 13:48
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