From 304be0cd5a20db5edff4d30ea5b58e4f4c20d221 Mon Sep 17 00:00:00 2001 From: Jacob Overgaard <752371+iOvergaard@users.noreply.github.com> Date: Tue, 25 Jul 2023 15:50:09 +0200 Subject: [PATCH] use shadowdom anyway to support slots --- .../src/packages/core/localization/localize.element.ts | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/Umbraco.Web.UI.Client/src/packages/core/localization/localize.element.ts b/src/Umbraco.Web.UI.Client/src/packages/core/localization/localize.element.ts index 22d85d4d33..bbb86778cc 100644 --- a/src/Umbraco.Web.UI.Client/src/packages/core/localization/localize.element.ts +++ b/src/Umbraco.Web.UI.Client/src/packages/core/localization/localize.element.ts @@ -67,13 +67,6 @@ export class UmbLocalizeElement extends UmbLitElement { protected render() { return this.value ? html`${this.value}` : html``; } - - /** - * This element does not use a shadow root and will render directly into the DOM. - */ - protected createRenderRoot(): this { - return this; - } } declare global {