diff --git a/apps/amakrushi/src/components/chat-message-item/index.tsx b/apps/amakrushi/src/components/chat-message-item/index.tsx index 542ca4b..dd4b5f3 100644 --- a/apps/amakrushi/src/components/chat-message-item/index.tsx +++ b/apps/amakrushi/src/components/chat-message-item/index.tsx @@ -165,9 +165,14 @@ const ChatMessageItem: FC = ({ message, onSend }) => { context?.sendMessage(choice); setOptionDisabled(true); if (isWeather) - setTimeout(() => { - setOptionDisabled(false); - }, 4000) + setTimeout(() => document.getElementsByClassName('PullToRefresh')?.[0]?.scrollTo({ + top: 999999, + left: 0, + behavior: "smooth", + }), 500) + setTimeout(() => { + setOptionDisabled(false); + }, 4000) } }}>
= ({ message, onSend }) => {
- ))} - + )) + } + ); }, [context, t]