"src/git@developer.sourcefind.cn:chenpangpang/open-webui.git" did not exist on "50e8979c002deb2faa2aa15b39886ece39fdf24d"
Unverified Commit c3dd11de authored by Timothy Jaeryang Baek's avatar Timothy Jaeryang Baek Committed by GitHub
Browse files

Merge pull request #1196 from fbirlik/patch-autoscrolldisable

fix: auto scroll fails to stop with small scroll amounts
parents 1f0dcb4f adbcb068
......@@ -832,7 +832,7 @@
on:scroll={(e) => {
autoScroll =
messagesContainerElement.scrollHeight - messagesContainerElement.scrollTop <=
messagesContainerElement.clientHeight + 50;
messagesContainerElement.clientHeight + 5;
}}
>
<div
......
......@@ -861,7 +861,7 @@
on:scroll={(e) => {
autoScroll =
messagesContainerElement.scrollHeight - messagesContainerElement.scrollTop <=
messagesContainerElement.clientHeight + 50;
messagesContainerElement.clientHeight + 5;
}}
>
<div
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment