@syncfusion/ej2-calendars 21.2.3 → 21.2.4

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.
@@ -4413,7 +4413,7 @@ let DatePicker = class DatePicker extends Calendar {
4413
4413
  this.modal = null;
4414
4414
  }
4415
4415
  if (Browser.isDevice) {
4416
- if (!isNullOrUndefined(this.mobilePopupWrapper)) {
4416
+ if (!isNullOrUndefined(this.mobilePopupWrapper) && (prevent && (isNullOrUndefined(this.preventArgs) || !this.preventArgs.cancel))) {
4417
4417
  this.mobilePopupWrapper.remove();
4418
4418
  this.mobilePopupWrapper = null;
4419
4419
  }