diff --git a/packages/web/src/components/common/typingBox/typingBox.tsx b/packages/web/src/components/common/typingBox/typingBox.tsx index 1109e04..8045b2e 100644 --- a/packages/web/src/components/common/typingBox/typingBox.tsx +++ b/packages/web/src/components/common/typingBox/typingBox.tsx @@ -45,7 +45,7 @@ export const TypingBox = (props: typingBoxProps) => { const arrayOfText = getText(props.mode); const elm = document.getElementById("isBeingTyped"); if (elm) { - textBoxRef.current.scrollTop = elm.offsetTop - 99999999; + textBoxRef.current.scrollTop = 0; } setInput(""); setTyped([]);