eca1f83162bf2a7a33c9552365f27d1286710d6a
Maximize was swapping the app into a createPortal(document.body) branch, so React unmounted + remounted it — losing scroll, playback, and in-flight state on every maximize/restore. Now it's a pure CSS state toggle on the same element (fixed, filling the content region), so the app instance is preserved and content stays exactly as it was. The panel is confined to the layout's z-2 content stacking context (under the fixed nav Header at z-10), so the maximized box starts below the header — keeping the panel's own header/Restore visible and the nav reachable. Dropped the portal + placeholder and the now-unused createPortal import. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Description
No description provided
42 MiB
Languages
TypeScript
90.9%
Shell
4.7%
JavaScript
4.1%
CSS
0.2%
HTML
0.1%