Fix update method

Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
This commit is contained in:
RMidhunSuresh 2021-07-12 14:54:28 +05:30
parent 4cb9adc9ea
commit 85924aba92

View file

@ -130,11 +130,16 @@ export class LazyListView extends ListView {
return this._parent;
}
update(attributes) {
this._renderRange = null;
super.update(attributes);
this._renderIfNeeded();
}
loadList() {
if (!this._list) { return; }
this._subscription = this._list.subscribe(this);
this._childInstances = [];
// todo: this breaks update in parent
}