forked from mystiq/hydrogen-web
Remove dom side-effect from rendering
This commit is contained in:
parent
5805ce0310
commit
eda179a154
1 changed files with 1 additions and 1 deletions
|
@ -59,7 +59,7 @@ export class TimelineView extends TemplateView<TimelineViewModel> {
|
|||
// 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"}, [
|
||||
|
|
Loading…
Reference in a new issue