This commit is contained in:
2026-09-10 00:13:16 +02:00
parent 73ffe02bbb
commit e2e4feeea0
+2 -2
View File
@@ -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' })
));
});