Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
open-webui
Commits
adbcb068
"src/git@developer.sourcefind.cn:gaoqiong/migraphx.git" did not exist on "ef7a14c9c9e3c3f909e7ad09afb67d37f04fb20d"
Commit
adbcb068
authored
Mar 18, 2024
by
Firat Birlik
Browse files
fix: auto scroll fails to stop with small scroll amounts
parent
5ce421e7
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
src/routes/(app)/+page.svelte
src/routes/(app)/+page.svelte
+1
-1
src/routes/(app)/c/[id]/+page.svelte
src/routes/(app)/c/[id]/+page.svelte
+1
-1
No files found.
src/routes/(app)/+page.svelte
View file @
adbcb068
...
...
@@ -813,7 +813,7 @@
on
:
scroll
={(
e
)
=>
{
autoScroll
=
messagesContainerElement
.
scrollHeight
-
messagesContainerElement
.
scrollTop
<=
messagesContainerElement
.
clientHeight
+
5
0
;
messagesContainerElement
.
clientHeight
+
5
;
}}
>
<
div
...
...
src/routes/(app)/c/[id]/+page.svelte
View file @
adbcb068
...
...
@@ -845,7 +845,7 @@
on
:
scroll
={(
e
)
=>
{
autoScroll
=
messagesContainerElement
.
scrollHeight
-
messagesContainerElement
.
scrollTop
<=
messagesContainerElement
.
clientHeight
+
5
0
;
messagesContainerElement
.
clientHeight
+
5
;
}}
>
<
div
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment