fix: auto-scroll to typing indicator in chat
This commit is contained in:
@@ -194,6 +194,7 @@ const Chat = () => {
|
|||||||
// Show typing indicator after delay
|
// Show typing indicator after delay
|
||||||
typingTimeoutRef.current = setTimeout(() => {
|
typingTimeoutRef.current = setTimeout(() => {
|
||||||
setWaitingForResponse(true);
|
setWaitingForResponse(true);
|
||||||
|
scrollToEnd();
|
||||||
}, TYPING_INDICATOR_DELAY_MS);
|
}, TYPING_INDICATOR_DELAY_MS);
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
|||||||
Reference in New Issue
Block a user