fix scroll to top in firefox

This commit is contained in:
Nicolas Constant 2019-09-29 19:43:19 -04:00
parent 55bc557512
commit 201341f0e7
No known key found for this signature in database
GPG Key ID: 1E9F677FB01A5688
1 changed files with 6 additions and 0 deletions

View File

@ -181,6 +181,12 @@ export class StreamStatusesComponent implements OnInit, OnDestroy {
behavior: 'smooth'
});
}, 0);
setTimeout(() => {
stream.scrollTo({
top: 0,
behavior: 'auto'
});
}, 250);
return false;
}