Skip to content

Animate adding and removing code editors - #261

Open
stevebauman wants to merge 1 commit into
masterfrom
codex/animate-editor-add-remove
Open

stevebauman wants to merge 1 commit into
masterfrom
codex/animate-editor-add-remove

Conversation

@stevebauman

Copy link
Copy Markdown
Owner

Adding or removing a code editor currently snaps the workspace into its new layout. This adds a 200ms expansion or collapse with a subtle fade, while the surrounding editors resize smoothly.

Focus moves into the new editor or a remaining editor once the transition finishes. Divider dragging and rapid actions continue to work, and the animations respect reduced-motion preferences.

Validated with 254 passing tests and browser checks for both layout directions, rapid additions/removals, divider dragging, and reduced motion.

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying showcode with  Cloudflare Pages  Cloudflare Pages

Latest commit: 469fde8
Status: ✅  Deploy successful!
Preview URL: https://10eaf6fe.showcode.pages.dev
Branch Preview URL: https://codex-animate-editor-add-rem.showcode.pages.dev

View logs

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