dockview icon indicating copy to clipboard operation
dockview copied to clipboard

Panel content not rendering after pop-in until tab interaction

Open jhp0621 opened this issue 6 months ago • 0 comments

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:

  1. Pop out one of the panels using the "Open In New Window" button
  2. Move it back in using the "Close Window' button
  3. Notice that the panel is present but the content is blank (bug)
  4. Switch to another tab and come back.
  5. 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.

jhp0621 avatar Aug 04 '25 17:08 jhp0621