forked from open-webui/open-webui
refac
This commit is contained in:
parent
0d39a9fe0e
commit
2c2c2fd889
4 changed files with 8 additions and 9 deletions
|
@ -794,8 +794,6 @@
|
|||
class=" pb-2.5 flex flex-col justify-between w-full flex-auto overflow-auto h-80"
|
||||
id="messages-container"
|
||||
on:scroll={(e) => {
|
||||
console.log(e.target.scrollHeight, e.target.scrollTop, e.target.clientHeight);
|
||||
console.log(e.target.scrollHeight - e.target.scrollTop, e.target.clientHeight);
|
||||
autoScroll = e.target.scrollHeight - e.target.scrollTop <= e.target.clientHeight + 50;
|
||||
}}
|
||||
>
|
||||
|
|
|
@ -824,8 +824,6 @@
|
|||
class=" pb-2.5 flex flex-col justify-between w-full flex-auto overflow-auto h-0"
|
||||
id="messages-container"
|
||||
on:scroll={(e) => {
|
||||
console.log(e.target.scrollHeight, e.target.scrollTop, e.target.clientHeight);
|
||||
console.log(e.target.scrollHeight - e.target.scrollTop, e.target.clientHeight);
|
||||
autoScroll = e.target.scrollHeight - e.target.scrollTop <= e.target.clientHeight + 50;
|
||||
}}
|
||||
>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue