Fix update method
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
This commit is contained in:
parent
4cb9adc9ea
commit
85924aba92
1 changed files with 6 additions and 1 deletions
|
@ -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
|
||||
}
|
||||
|
||||
|
||||
|
|
Reference in a new issue