From e2e4feeea04c5fc3e317a57d80a91b9e2e123f73 Mon Sep 17 00:00:00 2001 From: Kibi Kelburton Date: Thu, 10 Sep 2026 00:13:16 +0200 Subject: [PATCH] gfsd --- public/s/js/comments.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/s/js/comments.js b/public/s/js/comments.js index 73b21d7..b208ddf 100644 --- a/public/s/js/comments.js +++ b/public/s/js/comments.js @@ -4768,7 +4768,7 @@ class CommentSystem { picker.style.animation = ''; trigger.classList.add('is-active'); requestAnimationFrame(() => requestAnimationFrame(() => - window.scrollTo({ top: document.body.scrollHeight, behavior: 'smooth' }) + picker.scrollIntoView({ behavior: 'smooth', block: 'nearest' }) )); } return; @@ -4833,7 +4833,7 @@ class CommentSystem { container.appendChild(picker); requestAnimationFrame(() => requestAnimationFrame(() => - window.scrollTo({ top: document.body.scrollHeight, behavior: 'smooth' }) + picker.scrollIntoView({ behavior: 'smooth', block: 'nearest' }) )); });