Closed semrola closed 2 years ago
can you post a quick reproducer? i checked the nested-layouts demo in the folder and it looks ok?
I figured out a different way to specify a layout. For now it works ok.
{
applyDefaultStyles: true,
stateManagement__enabled: true,
center__paneSelector: ".c-pane",
north__paneSelector: ".n-pane",
north__minSize: 100,
north__size: 300,
north__children: {
name: 'inner',
applyDefaultStyles: true,
west__minSize: 100,
west__maxSize: 300,
west__paneSelector: ".n-west",
center__paneSelector: ".n-center",
stateManagement__enabled: true
}
}
I specify the layout like this:
but only the top layout state gets saved. Am I doing anything wrong or is there a bug? If I put the
stateManagement__enabled
in the child options, then only this one would be saved and the top one wouldn't. Edit: also the demosaved_state_nested.html
is not saving the state.