From 57fa2925835bb30c683b542f9b299ea8a6732e7f Mon Sep 17 00:00:00 2001 From: RMidhunSuresh Date: Wed, 27 Oct 2021 12:26:48 +0530 Subject: [PATCH] No need to filter top tile out Signed-off-by: RMidhunSuresh --- src/domain/session/room/timeline/TimelineViewModel.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/domain/session/room/timeline/TimelineViewModel.js b/src/domain/session/room/timeline/TimelineViewModel.js index f0435a51..3441f4ab 100644 --- a/src/domain/session/room/timeline/TimelineViewModel.js +++ b/src/domain/session/room/timeline/TimelineViewModel.js @@ -97,7 +97,7 @@ export class TimelineViewModel extends ViewModel { const endIndex = this._tiles.getTileIndex(this._endTile); for (const tile of this._tiles.sliceIterator(startIndex, endIndex + 1)) { const ret = tile.notifyVisible(); - if (ret && !tile.isAtTop) { + if (ret) { this.watchForGapFill(ret, tile); } }