Panel content not rendering after pop-in until tab interaction
Describe the bug
When a panel is popped out using addPopoutGroup() and then moved back into the main window using panel.api.moveTo(...), the panel’s content remains blank until a view change occurs, such as switching tabs or dragging the panel to a new tab location.
To Reproduce This can be reproduced in the official Dockview demo: https://dockview.dev/demo/?theme=light
Steps to reproduce the behavior:
- Pop out one of the panels using the "Open In New Window" button
- Move it back in using the "Close Window' button
- Notice that the panel is present but the content is blank (bug)
- Switch to another tab and come back.
- Content then appears
Expected behavior Panel content should immediately render when moved back into the main layout, without requiring the user to switch tabs or trigger a layout shift.
Screenshots Recording: https://share.zight.com/p9u9K9ze
Desktop (please complete the following information):
- Browser: Chrome
- Version 138.0.7204.158
Additional context Add any other context about the problem here.