mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-16 03:31:45 +08:00
fix(css-state): _appliedSelectorsVersion assignment (#7405)
Assign CSS state applied selectors version after ensuring and matching the selectors.
This commit is contained in:

committed by
Dimitar Topuzov

parent
f08b491750
commit
9ecf07fee6
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user