Skip to content

Commit 1854cbb

Browse files
committed
scroll left when scrolling to bottom
1 parent b437edd commit 1854cbb

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

frontend/app/aipanel/aipanelmessages.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ export const AIPanelMessages = memo(({ messages, status, isLoadingChat }: AIPane
3333
const container = messagesContainerRef.current;
3434
if (container) {
3535
container.scrollTop = container.scrollHeight;
36+
container.scrollLeft = 0;
3637
}
3738
};
3839

0 commit comments

Comments
 (0)