Skip to content

Commit

Permalink
moved the scroll
Browse files Browse the repository at this point in the history
  • Loading branch information
jenbeckett committed Jan 31, 2025
1 parent d3d3364 commit e303095
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/views/reports/SurveyView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -179,9 +179,9 @@ export default {
},

async next() {
window.scrollTo({ top: 0, behavior: 'smooth' })
if (this.isLastSection(this.currentSection)) return
await this.save()
window.scrollTo({ top: 0, behavior: 'smooth' })
this.currentSection = this.sections[this.currentSectionIndex + 1]
},

Expand Down

0 comments on commit e303095

Please sign in to comment.