Skip to content

Commit e65d638

Browse files
committed
fix(Smart Question): The scroll axis cannot scroll upwards
1 parent 61f06e3 commit e65d638

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

frontend/src/views/chat/index.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -459,6 +459,7 @@ const innerRef = ref()
459459
const chatCreatorRef = ref()
460460
461461
const scrollToBottom = debounce(() => {
462+
if (scrolling) return
462463
nextTick(() => {
463464
chatListRef.value?.scrollTo({
464465
top: chatListRef.value.wrapRef.scrollHeight,

0 commit comments

Comments
 (0)