mirror of
https://github.com/open-webui/open-webui
synced 2024-11-06 16:59:42 +00:00
refac: multi response scroll behaviour
This commit is contained in:
parent
170ec2f9d0
commit
2d99f275a3
@ -157,7 +157,7 @@
|
|||||||
const messageElement = document.getElementById(`message-${messageId}`);
|
const messageElement = document.getElementById(`message-${messageId}`);
|
||||||
console.log(messageElement);
|
console.log(messageElement);
|
||||||
if (messageElement) {
|
if (messageElement) {
|
||||||
messageElement.scrollIntoView({ block: 'center' });
|
messageElement.scrollIntoView({ block: 'start' });
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
Loading…
Reference in New Issue
Block a user