We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
.length > 0
1 parent 17f351b commit c7a8412Copy full SHA for c7a8412
web_src/js/components/RepoActionView.vue
@@ -200,7 +200,7 @@ const sfc = {
200
}
201
202
// scrolls to the bottom if job is running and the bottom of the logs container is visible
203
- if (!this.run.done && logLines.length > 0 && clientHeight >= logsContainerHeight) {
+ if (!this.run.done && logLines.length && clientHeight >= logsContainerHeight) {
204
const newLogsContainerHeight = this.$refs.stepsContainer.getBoundingClientRect().bottom + window.scrollY;
205
window.scrollTo({top: clientHeight + (newLogsContainerHeight - logsContainerHeight), behavior: 'smooth'});
206
0 commit comments