Skip to content

Commit

Permalink
#2230 Clicking cancel or close in the expression builder isn't reset…
Browse files Browse the repository at this point in the history
…ting property values back to the original values (#2231)

Signed-off-by: Michael Pavlik <michael@michaels-mbp.usca.ibm.com>
Co-authored-by: Michael Pavlik <michael@michaels-mbp.usca.ibm.com>
  • Loading branch information
mikieyx and Michael Pavlik authored Oct 29, 2024
1 parent 57f7110 commit 3041355
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,6 @@ class ExpressionControl extends React.Component {
this.props.selectionRange.forEach((selected) => {
this.editor.dispatch({ selection: selected });
});
this.editor.focus();
}
if (!isEqual(prevProps.value, this.props.value)) {
const selection = this.editor.state.selection.main;
Expand Down

0 comments on commit 3041355

Please sign in to comment.