append to shadowRoot

This commit is contained in:
Jacob Overgaard
2024-04-05 10:17:43 +02:00
parent 5e0916bb11
commit c0bb2d3d97

View File

@@ -39,10 +39,10 @@ export const onInit: UmbEntryPointOnInit = (host, extensionRegistry) => {
extensionRegistry.registerMany(coreManifests);
const notificationContainerElement = new UmbBackofficeNotificationContainerElement();
host.appendChild(notificationContainerElement);
host.shadowRoot?.appendChild(notificationContainerElement);
const modalContainerElement = new UmbBackofficeModalContainerElement();
host.appendChild(modalContainerElement);
host.shadowRoot?.appendChild(modalContainerElement);
new UmbNotificationContext(host);
new UmbModalManagerContext(host);