important note

This commit is contained in:
Niels Lyngsø
2023-07-24 09:54:51 +02:00
parent 6fd8d4331f
commit 9f125c4f75

View File

@@ -33,6 +33,7 @@ export class UmbSectionDefaultElement extends UmbLitElement implements UmbSectio
// It was important to ensure that the UmbExtensionsElementController first got created a little later.
// TODO: this needs further investigation, to figure out why it happens.
// Note: It might be because we have no system for Context-APIs to inform when the leave the DOM.
if (!this._extensionController) {
this._extensionController = new UmbExtensionsElementController(this, 'sectionSidebarApp', null, (sidebarApps) => {
this._sidebarApps = sidebarApps;