fix gotoup in firefox
This commit is contained in:
parent
8c36620b0a
commit
ed1e52232d
|
@ -180,13 +180,7 @@ export class StreamStatusesComponent implements OnInit, OnDestroy {
|
|||
top: 0,
|
||||
behavior: 'smooth'
|
||||
});
|
||||
}, 0);
|
||||
setTimeout(() => {
|
||||
stream.scrollTo({
|
||||
top: 0,
|
||||
behavior: 'auto'
|
||||
});
|
||||
}, 250);
|
||||
}, 10);
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue