diff --git a/src/pages/Report.vue b/src/pages/Report.vue index a60324b9..105d8a83 100644 --- a/src/pages/Report.vue +++ b/src/pages/Report.vue @@ -121,7 +121,9 @@ export default { }, methods: { onBodyScroll({ scrollLeft }) { - this.$refs.header.scrollLeft = scrollLeft; + this.$nextTick(() => { + this.$refs.header.scrollLeft = scrollLeft; + }); }, async fetchReportData() { let data = await frappe.call({