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,
|
top: 0,
|
||||||
behavior: 'smooth'
|
behavior: 'smooth'
|
||||||
});
|
});
|
||||||
}, 0);
|
}, 10);
|
||||||
setTimeout(() => {
|
|
||||||
stream.scrollTo({
|
|
||||||
top: 0,
|
|
||||||
behavior: 'auto'
|
|
||||||
});
|
|
||||||
}, 250);
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue