mirror of
https://github.com/PrimalHQ/primal-web-app.git
synced 2024-10-06 19:53:28 +00:00
Fix scrolling calculation on thread view
This commit is contained in:
parent
4fbe3d83ad
commit
6119b47820
@ -111,6 +111,10 @@ const Thread: Component = () => {
|
|||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
if (!repliesHolder) return;
|
if (!repliesHolder) return;
|
||||||
|
|
||||||
|
if (parentNotes().length === 0) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
const rect = pn.getBoundingClientRect();
|
const rect = pn.getBoundingClientRect();
|
||||||
|
|
||||||
const vh = window.innerHeight;
|
const vh = window.innerHeight;
|
||||||
|
Loading…
Reference in New Issue
Block a user