Skip to content

Commit f4eb75f

Browse files
committed
fix(scroll): closes #100
1 parent a3cde34 commit f4eb75f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

web/src/containers/Studio/index.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,9 @@ const Studio = () => {
7070

7171
setWebout(`<pre><code>${webout}</code></pre>`)
7272
setTab('2')
73+
74+
// Scroll to bottom of log
75+
window.scrollTo(0, document.body.scrollHeight)
7376
})
7477
.catch((err) => console.log(err))
7578
}

0 commit comments

Comments
 (0)