Skip to content

Commit

Permalink
Don't allow scrolling beyond last line in code editors
Browse files Browse the repository at this point in the history
  • Loading branch information
timoschwarzer committed Oct 18, 2019
1 parent cbd2c1b commit ec4dff6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/app.vue
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,8 @@
tabSize: 2,
minimap: {
enabled: false
}
},
scrollBeyondLastLine: false
}
}),
computed: {
Expand Down

0 comments on commit ec4dff6

Please sign in to comment.