Skip to content

fix: attach "always" renderer panels to DOM during fromJSON#1109

Merged
mathuo merged 2 commits intomasterfrom
fix/always-renderer-fromjson
Feb 16, 2026
Merged

fix: attach "always" renderer panels to DOM during fromJSON#1109
mathuo merged 2 commits intomasterfrom
fix/always-renderer-fromjson

Conversation

@mathuo
Copy link
Owner

@mathuo mathuo commented Feb 16, 2026

When panels with renderer="always" were added during deserialization (fromJSON), they were skipped because skipSetActive was true. This meant inactive "always" panels weren't rendered to the overlay container, breaking the expected behavior where "always" panels stay attached to the DOM regardless of active state.

Fixes #1108

mathuo and others added 2 commits February 16, 2026 17:42
When panels with renderer="always" were added during deserialization
(fromJSON), they were skipped because skipSetActive was true. This
meant inactive "always" panels weren't rendered to the overlay
container, breaking the expected behavior where "always" panels
stay attached to the DOM regardless of active state.

Fixes #1108

Co-Authored-By: Claude Opus 4.6 <[email protected]>
renderer is not on the IDockviewPanel interface, access it through
the panel API instead.

Co-Authored-By: Claude Opus 4.6 <[email protected]>
@codesandbox-ci
Copy link

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 883d488:

Sandbox Source
dockview-app Configuration
editor-gridview Configuration
externaldnd-dockview Configuration
fullwidthtab-dockview Configuration
iframe-dockview Configuration
keyboard-dockview Configuration
nativeapp-dockview Configuration
rendering-dockview Configuration

@sonarqubecloud
Copy link

@mathuo mathuo merged commit d81b153 into master Feb 16, 2026
4 checks passed
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.

Loading layout from JSON does not respect defaultRenderer="always" setting

1 participant