Skip to content
This repository has been archived by the owner on Jul 31, 2024. It is now read-only.

Commit

Permalink
fix: try again button should now properly set the scroll to 0 on all …
Browse files Browse the repository at this point in the history
…browsers
  • Loading branch information
vycdev committed Apr 28, 2020
1 parent 9c45175 commit d591aaf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/web/src/components/common/typingBox/typingBox.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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([]);
Expand Down

0 comments on commit d591aaf

Please sign in to comment.