Skip to content

Commit

Permalink
Smooth scrolling
Browse files Browse the repository at this point in the history
  • Loading branch information
printfn committed Dec 6, 2024
1 parent 8a3ae7a commit bdef38e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ export default function App({ widget = false }: { widget?: boolean }) {
{result}
</>
));
pendingOutput.current?.scrollIntoView();
pendingOutput.current?.scrollIntoView({ behavior: 'smooth' });
});
},
[currentInput, submit, variables, onInput, downArrow, upArrow],
Expand Down

0 comments on commit bdef38e

Please sign in to comment.