Skip to content

Commit

Permalink
:p: Fix missing last line when following scroll
Browse files Browse the repository at this point in the history
  • Loading branch information
jsnjack committed Jul 28, 2019
1 parent ad57842 commit dbf432d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/frontend/src/views/BuildView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,9 @@ export default {
if (logIndex[0] === undefined) {
this.job.tasks[index].logs.push(ev);
if (this.follow) {
this.$refs["task-" + index][0].$el.scrollIntoView(false);
this.$nextTick(() => {
this.$refs["task-" + index][0].$el.scrollIntoView(false);
});
}
}
} else {
Expand Down

0 comments on commit dbf432d

Please sign in to comment.