Skip to content

[Website] Keep Dock height animations on a stable content target - #4396

Open
adamziel wants to merge 1 commit into
trunkfrom
codex/dock-stable-height-transitions
Open

adamziel wants to merge 1 commit into
trunkfrom
codex/dock-stable-height-transitions

Conversation

@adamziel

@adamziel adamziel commented Oct 6, 2026 •

Copy link
Copy Markdown
Collaborator

Keep the Dock's height target stable while its content grows.

The observer was measuring the animated pane and feeding each intermediate height back into the next animation. Measure the content, clamp it to the viewport, and observe the active body. Replace an animation only when its target changes. Keep toast positioning in the same height update.

Part 10 of #4373. Targets trunk; no Reprint dependency.

Viewport Before After
Desktop Before After
Mobile Before After

Testing

Open New, switch creation tabs, open the GitHub subpanel, and resize the window during the transition. Check that the pane settles, the form scrolls on desktop and mobile, and management errors appear above the Dock.

@coderabbitai

coderabbitai Bot commented Oct 6, 2026

Copy link
Copy Markdown
Contributor

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 49 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used all 4 included reviews currently available.

Learn how review limits work.

Review configuration:

⚙️ Run configuration
  • Configuration used: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: ff5e785a-efb7-49f9-97c0-dc3c8005f31a
📥 Commits

Reviewing files that changed from the base of the PR and between 769e72b and 9272ac3.

📒 Files selected for processing (2)
  • packages/playground/website/playwright/e2e/website-ui.spec.ts
  • packages/playground/website/src/components/dock/dock.tsx
  • Autopilot · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant