@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.
@@ -863,7 +863,7 @@ let InPlaceEditor = class InPlaceEditor extends Component {
863
863
  this.submitBtn = undefined;
864
864
  }
865
865
  if (!isNullOrUndefined(this.cancelBtn)) {
866
- EventHandler.remove(this.cancelBtn.element, 'mouseup', this.cancelBtnClick);
866
+ EventHandler.remove(this.cancelBtn.element, 'mousedown', this.cancelBtnClick);
867
867
  EventHandler.remove(this.cancelBtn.element, 'keydown', this.btnKeyDownHandler);
868
868
  this.cancelBtn.destroy();
869
869
  this.cancelBtn = undefined;
@@ -1150,7 +1150,7 @@ let InPlaceEditor = class InPlaceEditor extends Component {
1150
1150
  EventHandler.add(this.submitBtn.element, 'keydown', this.btnKeyDownHandler, this);
1151
1151
  }
1152
1152
  if (!isNullOrUndefined(this.cancelBtn)) {
1153
- EventHandler.add(this.cancelBtn.element, 'mouseup', this.cancelBtnClick, this);
1153
+ EventHandler.add(this.cancelBtn.element, 'mousedown', this.cancelBtnClick, this);
1154
1154
  EventHandler.add(this.cancelBtn.element, 'keydown', this.btnKeyDownHandler, this);
1155
1155
  }
1156
1156
  }