From 611524cddaa7997d236f6d946677b5bd74f238da Mon Sep 17 00:00:00 2001 From: RMidhunSuresh Date: Fri, 16 Jul 2021 00:16:19 +0530 Subject: [PATCH] Log instead of throwing error Signed-off-by: RMidhunSuresh --- src/platform/web/ui/general/LazyListView.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/platform/web/ui/general/LazyListView.js b/src/platform/web/ui/general/LazyListView.js index 68082e44..84578f0d 100644 --- a/src/platform/web/ui/general/LazyListView.js +++ b/src/platform/web/ui/general/LazyListView.js @@ -99,7 +99,7 @@ export class LazyListView extends ListView { await new Promise(r => requestAnimationFrame(r)); this._height = this._parent.clientHeight; - if(this._height === 0) { throw "LazyListView could not calculate parent height."} + if (this._height === 0) { console.error("LazyListView could not calculate parent height."); } const range = this._getVisibleRange(); const renderRange = range.expand(this._overflowItems); this._renderRange = renderRange;