From ea2d45cab7c4a7131441c62cd632fb19c137cd34 Mon Sep 17 00:00:00 2001 From: Eric Eastwood Date: Fri, 25 Feb 2022 01:48:16 -0600 Subject: [PATCH] No need to comment this out since linkedom supports it now MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit See https://github.com/vector-im/hydrogen-web/pull/653#discussion_r805103800 We can allow this to run now since I added support for `setProperty` in `linkedom` ⏩ https://github.com/WebReflection/linkedom/pull/114 --- src/platform/web/ui/session/room/TimelineView.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/platform/web/ui/session/room/TimelineView.ts b/src/platform/web/ui/session/room/TimelineView.ts index b13b089d..936b8c7c 100644 --- a/src/platform/web/ui/session/room/TimelineView.ts +++ b/src/platform/web/ui/session/room/TimelineView.ts @@ -59,7 +59,7 @@ export class TimelineView extends TemplateView { // assume this view will be mounted in the parent DOM straight away requestAnimationFrame(() => { // do initial scroll positioning - //this.restoreScrollPosition(); + this.restoreScrollPosition(); }); this.tilesView = new TilesListView(vm.tiles, () => this.restoreScrollPosition()); const root = t.div({className: "Timeline"}, [