From 77779971c11b1df51ad5e45e733e6c366770b558 Mon Sep 17 00:00:00 2001 From: "ilya.kharchenko" <14272298+IlyaKhD@users.noreply.github.com> Date: Tue, 11 Jun 2024 23:35:03 +0400 Subject: [PATCH] Add display: none to DxLicenseTrigger (#27581) --- packages/devextreme/js/__internal/core/license/trial_panel.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/devextreme/js/__internal/core/license/trial_panel.ts b/packages/devextreme/js/__internal/core/license/trial_panel.ts index e34e17b367c9..d209b88e88d7 100644 --- a/packages/devextreme/js/__internal/core/license/trial_panel.ts +++ b/packages/devextreme/js/__internal/core/license/trial_panel.ts @@ -235,6 +235,8 @@ class DxLicenseTrigger extends SafeHTMLElement { private readonly that = this as unknown as HTMLElement; public connectedCallback(): void { + this.that.style.display = 'none'; + const licensePanel = document.getElementsByTagName(componentNames.panel); if (!licensePanel.length) { const license = document.createElement(componentNames.panel);