From 0fcc8c8d9cc9bed96c5be8a2caabb8e8ba3f5636 Mon Sep 17 00:00:00 2001 From: Douglas Machado Date: Fri, 3 Feb 2023 18:33:12 -0300 Subject: [PATCH] fix(core): .ns-light and .ns-dark doesn't apply through to dialogs --- packages/core/ui/dialogs/dialogs-common.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/core/ui/dialogs/dialogs-common.ts b/packages/core/ui/dialogs/dialogs-common.ts index 03ee421718..b54b122a76 100644 --- a/packages/core/ui/dialogs/dialogs-common.ts +++ b/packages/core/ui/dialogs/dialogs-common.ts @@ -254,6 +254,7 @@ function applySelectors(view: T, callback: (view: T) => void) { if (currentPage) { const styleScope = currentPage._styleScope; if (styleScope) { + view.parent = currentPage; view._inheritStyleScope(styleScope); view.onLoaded(); callback(view);