Skip to content

Commit

Permalink
Merge pull request #313 from cometfish/master
Browse files Browse the repository at this point in the history
Don't clear the Signature field when the browser triggers a resize event
  • Loading branch information
Kiho committed Sep 1, 2024
2 parents e547d39 + 723abcb commit 9d16a75
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/form-elements/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -335,6 +335,7 @@ class Signature extends React.Component {
pad_props.ref = this.canvas;
canClear = !this.props.read_only;
}
pad_props.clearOnResize = false;

let baseClasses = 'SortableItem rfb-item';
if (this.props.data.pageBreakBefore) { baseClasses += ' alwaysbreak'; }
Expand Down

0 comments on commit 9d16a75

Please sign in to comment.