From 85924aba92a428f53437fdc36fbcee5d59068f03 Mon Sep 17 00:00:00 2001 From: RMidhunSuresh Date: Mon, 12 Jul 2021 14:54:28 +0530 Subject: [PATCH] Fix update method Signed-off-by: RMidhunSuresh --- src/platform/web/ui/general/LazyListView.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/platform/web/ui/general/LazyListView.js b/src/platform/web/ui/general/LazyListView.js index 90782648..cfd57f1e 100644 --- a/src/platform/web/ui/general/LazyListView.js +++ b/src/platform/web/ui/general/LazyListView.js @@ -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 }