Skip to content

Commit 9ecf07f

Browse files
vchimevdtopuzov
authored andcommitted
fix(css-state): _appliedSelectorsVersion assignment (#7405)
Assign CSS state applied selectors version after ensuring and matching the selectors.
1 parent f08b491 commit 9ecf07f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎tns-core-modules/ui/styling/style-scope.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -397,8 +397,8 @@ export class CssState {
397397
private updateMatch() {
398398
const view = this.viewRef.get();
399399
if (view && view._styleScope) {
400-
this._appliedSelectorsVersion = view._styleScope._getSelectorsVersion();
401400
this._match = view._styleScope.matchSelectors(view);
401+
this._appliedSelectorsVersion = view._styleScope._getSelectorsVersion();
402402
} else {
403403
this._match = CssState.emptyMatch;
404404
}

0 commit comments

Comments
 (0)