diff --git a/web/app/src/components/jobs/JobDetails.vue b/web/app/src/components/jobs/JobDetails.vue
index eb51e4c8..6b92e109 100644
--- a/web/app/src/components/jobs/JobDetails.vue
+++ b/web/app/src/components/jobs/JobDetails.vue
@@ -4,7 +4,7 @@
-
+
@@ -164,6 +164,7 @@ export default {
if (this.jobData) {
this._setJobSettings(this.jobData.settings);
}
+ this.$emit('reshuffled');
},
_clearJobSettings() {
@@ -204,8 +205,17 @@ export default {
this.simpleSettings = filtered;
this.$emit('reshuffled');
- }
- }
+ },
+ emit_reshuffled_delayed() {
+ const reshuffle = () => { this.$emit('reshuffled'); }
+
+ // Changing tabs requires two sequential "reshuffled" events, at least it
+ // does on Firefox. Not sure what the reason is, but it works to get rid
+ // of the scrollbar.
+ reshuffle();
+ this.$nextTick(reshuffle);
+ },
+ },
};
diff --git a/web/app/src/views/JobsView.vue b/web/app/src/views/JobsView.vue
index 59bc74d4..da78507a 100644
--- a/web/app/src/views/JobsView.vue
+++ b/web/app/src/views/JobsView.vue
@@ -204,6 +204,7 @@ export default {
this.jobs.setActiveJob(job);
// Forward the full job to Tabulator, so that that gets updated too.
this.$refs.jobsTable.processJobUpdate(job);
+ this._recalcTasksTableHeight();
});
},