Closed mfranke93 closed 3 months ago
Ultimately, this seems to be caused by the components themselves not being closable. Removing the isClosable: false
from the configuration, and using the new root
property instead of the components
property in the config, solves this issue. However, views are now closable.
The solution is simple, but a bit ugly. However, I see no good alternative. I had no success intercepting the close events reliably, so my proposed solution is to hide the close buttons and make them not clickable:
.lm_header .lm_close_tab {
visibility: hidden;
pointer-events: none;
}
Probably caused by the recent GoldenLayout version upgrade.