From 48ef2496849eb4e9b9d00057b35dc88e6dedfc64 Mon Sep 17 00:00:00 2001 From: Douglas Machado Date: Sun, 19 Feb 2023 01:12:02 -0300 Subject: [PATCH] fix(core): classes .ns-light and .ns-dark apply to dialogs (#10201) --- 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 03ee42171..b54b122a7 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);