Skip to content

Commit

Permalink
Fix scroll position after changing page
Browse files Browse the repository at this point in the history
  • Loading branch information
behrang committed Apr 20, 2024
1 parent 57db24e commit beb3e37
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Model.ts
Original file line number Diff line number Diff line change
Expand Up @@ -549,6 +549,7 @@ export class Model {
if (this.activePage !== activePage) {
this.activePage = activePage
this.controlBackgroundJobs()
window.scrollTo(0, 0)
}
}

Expand Down

0 comments on commit beb3e37

Please sign in to comment.