Skip to content

Commit

Permalink
chore: prevent scrolling beyond last line
Browse files Browse the repository at this point in the history
related to #4807 (comment)
  • Loading branch information
marstamm committed Feb 11, 2025
1 parent 42c0d21 commit 42eac9b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions client/src/app/tabs/rpa/RPAEditor.js
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,11 @@ export class RPAEditor extends CachedComponent {
value: this.props.xml
});

// Prevent scrolling
editor.editor.updateOptions({
scrollBeyondLastLine: false
});

this.setCached({
editor,
lastXML: this.props.xml,
Expand Down

0 comments on commit 42eac9b

Please sign in to comment.