diff --git a/tns-core-modules/ui/styling/style-scope.ts b/tns-core-modules/ui/styling/style-scope.ts index 900aa1633..0d7a634ff 100644 --- a/tns-core-modules/ui/styling/style-scope.ts +++ b/tns-core-modules/ui/styling/style-scope.ts @@ -397,8 +397,8 @@ export class CssState { private updateMatch() { const view = this.viewRef.get(); if (view && view._styleScope) { - this._appliedSelectorsVersion = view._styleScope._getSelectorsVersion(); this._match = view._styleScope.matchSelectors(view); + this._appliedSelectorsVersion = view._styleScope._getSelectorsVersion(); } else { this._match = CssState.emptyMatch; }