-
Notifications
You must be signed in to change notification settings - Fork 144
Description
Describe the bug
The loadJSON api renders panels that aren't visible but does not attach any related elements to the DOM.
To Reproduce
I started from the layout example and made this: https://codesandbox.io/p/sandbox/adoring-star-7cl3np
When the example is rendered using the loadJSON api the panels that aren't active aren't present in the DOM even though defaultRenderer="always" is set. If you don't load from JSON and instead just call the loadDefaultLayout function things work as expected.
Expected behavior
That the defaultRenderer settings is respected when loading from JSON, also according to the types a renderer setting is present on panels in what is serialized so that value should probably be respected also.
Desktop (please complete the following information):
- Edge 144.0.3719.115
- Windows 11
Additional context
Add any other context about the problem here.