From 304135586d985c586918573d5a3eea0d6f0ba3f4 Mon Sep 17 00:00:00 2001 From: mikieyx <103902194+mikieyx@users.noreply.github.com> Date: Tue, 29 Oct 2024 13:19:10 -0700 Subject: [PATCH] #2230 Clicking cancel or close in the expression builder isn't resetting property values back to the original values (#2231) Signed-off-by: Michael Pavlik Co-authored-by: Michael Pavlik --- .../src/common-properties/controls/expression/expression.jsx | 1 - 1 file changed, 1 deletion(-) diff --git a/canvas_modules/common-canvas/src/common-properties/controls/expression/expression.jsx b/canvas_modules/common-canvas/src/common-properties/controls/expression/expression.jsx index 053eb2dcd..d5c0891c5 100644 --- a/canvas_modules/common-canvas/src/common-properties/controls/expression/expression.jsx +++ b/canvas_modules/common-canvas/src/common-properties/controls/expression/expression.jsx @@ -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;