mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-08-03 22:30:31 +08:00
Fix: When large models output data rapidly, the scrollbar cannot remain at the bottom. #12701 (#12702)
### What problem does this PR solve? ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
@@ -409,7 +409,7 @@ export const useScrollToBottom = (
|
||||
const container = containerRef.current;
|
||||
container.scrollTo({
|
||||
top: container.scrollHeight - container.clientHeight,
|
||||
behavior: 'smooth',
|
||||
behavior: 'auto',
|
||||
});
|
||||
}
|
||||
}, [containerRef]);
|
||||
|
||||
Reference in New Issue
Block a user