mirror of
https://github.com/open-webui/open-webui.git
synced 2025-08-02 09:52:57 +02:00
refac
This commit is contained in:
@@ -50,7 +50,7 @@
|
||||
export let submitPrompt: Function;
|
||||
export let stopResponse: Function;
|
||||
|
||||
export let autoScroll = true;
|
||||
export let autoScroll = false;
|
||||
|
||||
export let atSelectedModel: Model | undefined;
|
||||
export let selectedModels: [''];
|
||||
@@ -93,7 +93,10 @@
|
||||
|
||||
const scrollToBottom = () => {
|
||||
const element = document.getElementById('messages-container');
|
||||
element.scrollTop = element.scrollHeight;
|
||||
element.scrollTo({
|
||||
top: element.scrollHeight,
|
||||
behavior: 'smooth'
|
||||
});
|
||||
};
|
||||
|
||||
const uploadFileHandler = async (file) => {
|
||||
|
Reference in New Issue
Block a user