@syncfusion/ej2-inplace-editor 23.1.40 → 23.1.41

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -900,7 +900,7 @@ var InPlaceEditor = /** @__PURE__ @class */ (function (_super) {
900
900
  this.submitBtn = undefined;
901
901
  }
902
902
  if (!isNullOrUndefined(this.cancelBtn)) {
903
- EventHandler.remove(this.cancelBtn.element, 'mouseup', this.cancelBtnClick);
903
+ EventHandler.remove(this.cancelBtn.element, 'mousedown', this.cancelBtnClick);
904
904
  EventHandler.remove(this.cancelBtn.element, 'keydown', this.btnKeyDownHandler);
905
905
  this.cancelBtn.destroy();
906
906
  this.cancelBtn = undefined;
@@ -1191,7 +1191,7 @@ var InPlaceEditor = /** @__PURE__ @class */ (function (_super) {
1191
1191
  EventHandler.add(this.submitBtn.element, 'keydown', this.btnKeyDownHandler, this);
1192
1192
  }
1193
1193
  if (!isNullOrUndefined(this.cancelBtn)) {
1194
- EventHandler.add(this.cancelBtn.element, 'mouseup', this.cancelBtnClick, this);
1194
+ EventHandler.add(this.cancelBtn.element, 'mousedown', this.cancelBtnClick, this);
1195
1195
  EventHandler.add(this.cancelBtn.element, 'keydown', this.btnKeyDownHandler, this);
1196
1196
  }
1197
1197
  };