mirror of
https://github.com/frappe/books.git
synced 2025-01-23 07:08:36 +00:00
fix: Update scroll position in nextTick
This commit is contained in:
parent
7baa7a7c59
commit
01d9191dcc
@ -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({
|
||||
|
Loading…
x
Reference in New Issue
Block a user