Skip to content

Commit 48ef249

Browse files
author
Douglas Machado
authored
fix(core): classes .ns-light and .ns-dark apply to dialogs (#10201)
1 parent df7ecb9 commit 48ef249

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/core/ui/dialogs/dialogs-common.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -254,6 +254,7 @@ function applySelectors<T extends View>(view: T, callback: (view: T) => void) {
254254
if (currentPage) {
255255
const styleScope = currentPage._styleScope;
256256
if (styleScope) {
257+
view.parent = currentPage;
257258
view._inheritStyleScope(styleScope);
258259
view.onLoaded();
259260
callback(view);

0 commit comments

Comments
 (0)