1
0
mirror of https://github.com/sasjs/server.git synced 2025-12-11 03:34:35 +00:00

fix(scroll): closes #100

This commit is contained in:
Saad Jutt
2022-03-23 21:31:54 +05:00
parent a3cde343b7
commit f4eb75ff34

View File

@@ -70,6 +70,9 @@ const Studio = () => {
setWebout(`<pre><code>${webout}</code></pre>`)
setTab('2')
// Scroll to bottom of log
window.scrollTo(0, document.body.scrollHeight)
})
.catch((err) => console.log(err))
}