gfsd
This commit is contained in:
@@ -4768,7 +4768,7 @@ class CommentSystem {
|
|||||||
picker.style.animation = '';
|
picker.style.animation = '';
|
||||||
trigger.classList.add('is-active');
|
trigger.classList.add('is-active');
|
||||||
requestAnimationFrame(() => requestAnimationFrame(() =>
|
requestAnimationFrame(() => requestAnimationFrame(() =>
|
||||||
window.scrollTo({ top: document.body.scrollHeight, behavior: 'smooth' })
|
picker.scrollIntoView({ behavior: 'smooth', block: 'nearest' })
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
@@ -4833,7 +4833,7 @@ class CommentSystem {
|
|||||||
|
|
||||||
container.appendChild(picker);
|
container.appendChild(picker);
|
||||||
requestAnimationFrame(() => requestAnimationFrame(() =>
|
requestAnimationFrame(() => requestAnimationFrame(() =>
|
||||||
window.scrollTo({ top: document.body.scrollHeight, behavior: 'smooth' })
|
picker.scrollIntoView({ behavior: 'smooth', block: 'nearest' })
|
||||||
));
|
));
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user