refac: multi response scroll behaviour

This commit is contained in:
Timothy J. Baek 2024-10-22 17:34:53 -07:00
parent 170ec2f9d0
commit 2d99f275a3

View File

@ -157,7 +157,7 @@
const messageElement = document.getElementById(`message-${messageId}`);
console.log(messageElement);
if (messageElement) {
messageElement.scrollIntoView({ block: 'center' });
messageElement.scrollIntoView({ block: 'start' });
}
});
</script>