Skip to content

fix(ui): stop hidden dock tabs from relayouting on resize#495

Open
Pizzaface wants to merge 2 commits intomainfrom
fix/hidden-panel-relayout
Open

fix(ui): stop hidden dock tabs from relayouting on resize#495
Pizzaface wants to merge 2 commits intomainfrom
fix/hidden-panel-relayout

Conversation

@Pizzaface
Copy link
Copy Markdown
Owner

Summary

  • unmount inactive CombinedPanel tab content instead of keeping hidden panels mounted
  • prevent hidden dock panels from reacting to browser DevTools viewport/layout changes
  • add regression coverage that only the active tab content is present in the DOM

Test Plan

  • bun test packages/ui/src/components/DockedPanelGroup.test.tsx packages/ui/src/components/CombinedPanel.test.tsx
  • bun test packages/ui
  • bun run typecheck

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