fix(android): CSS style not working properly in modal pages (#10070)

This commit is contained in:
Douglas Machado
2022-11-04 01:21:57 -03:00
committed by Nathan Walker
parent 6f1a5d16e3
commit 95c3b3026d

View File

@@ -11,6 +11,7 @@ import { Combinator as ICombinator , SimpleSelectorSequence as ISimpleSelectorSe
*/
export interface Node {
parent?: Node;
_modalParent?: Node;
id?: string;
nodeName?: string;
@@ -384,7 +385,7 @@ export class Selector extends SelectorCore {
return !!node;
} else {
let ancestor = node;
while ((ancestor = ancestor.parent)) {
while ((ancestor = ancestor.parent ?? ancestor._modalParent)) {
if ((node = group.match(ancestor))) {
return true;
}