Fix scrolling calculation on thread view
This commit is contained in:
parent
4fbe3d83ad
commit
6119b47820
|
@ -111,6 +111,10 @@ const Thread: Component = () => {
|
|||
setTimeout(() => {
|
||||
if (!repliesHolder) return;
|
||||
|
||||
if (parentNotes().length === 0) {
|
||||
return;
|
||||
}
|
||||
|
||||
const rect = pn.getBoundingClientRect();
|
||||
|
||||
const vh = window.innerHeight;
|
||||
|
|
Loading…
Reference in New Issue