Update scrollBetweenSections.ts

This commit is contained in:
va barbosa 2022-01-13 17:28:29 -05:00
parent 1e2a045563
commit 8500b5dca7
1 changed files with 5 additions and 3 deletions

View File

@ -17,9 +17,11 @@ export default class ScrollBetweenSections extends Vue {
threshold
}
)
setTimeout(() => {
this.updateObserved()
}, 500)
this.updateObserved()
}
updated () {
this.$nextTick(() => this.updateObserved())
}
updateObserved () {