mirror of
https://github.com/sasjs/server.git
synced 2026-01-03 21:10:05 +00:00
fix(scroll): closes #100
This commit is contained in:
@@ -70,6 +70,9 @@ const Studio = () => {
|
|||||||
|
|
||||||
setWebout(`<pre><code>${webout}</code></pre>`)
|
setWebout(`<pre><code>${webout}</code></pre>`)
|
||||||
setTab('2')
|
setTab('2')
|
||||||
|
|
||||||
|
// Scroll to bottom of log
|
||||||
|
window.scrollTo(0, document.body.scrollHeight)
|
||||||
})
|
})
|
||||||
.catch((err) => console.log(err))
|
.catch((err) => console.log(err))
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user