Skip to content

Commit fc3c087

Browse files
committed
chore: easier to escape the scroll bottom grab.
1 parent ed238fa commit fc3c087

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

apps/frontend/app/components/chat/ChatInterface.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ function doScrollBottom({ smooth = true, maybe = false, forceTries = 0, lastScro
255255
256256
lastScrollTop = l.$el.scrollTop
257257
258-
if (!forceTries && maybe && ((l.$el.scrollTop + l.$el.clientHeight) < (scrollHeight - 567)))
258+
if (!forceTries && maybe && ((l.$el.scrollTop + l.$el.clientHeight) < (scrollHeight - 456)))
259259
return
260260
261261
if (scrollHeight !== l.lenis.limit + l.$el.clientHeight)

0 commit comments

Comments
 (0)