mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-15 19:26:42 +08:00
fix: Resolve incorrect name of listener when unsubscribing (#6487)
This commit is contained in:

committed by
GitHub

parent
f54f7c3985
commit
2933a9a934
@ -506,7 +506,7 @@ export class CssState {
|
||||
this._appliedChangeMap.forEach((changes, view) => {
|
||||
if (changes.attributes) {
|
||||
changes.attributes.forEach(attribute => {
|
||||
view.removeEventListener("onPropertyChanged:" + attribute, this._onDynamicStateChangeHandler);
|
||||
view.removeEventListener(attribute + "Change", this._onDynamicStateChangeHandler);
|
||||
});
|
||||
}
|
||||
if (changes.pseudoClasses) {
|
||||
|
Reference in New Issue
Block a user