@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.
@@ -4459,7 +4459,7 @@ var DatePicker = /** @__PURE__ @class */ (function (_super) {
4459
4459
  this.modal = null;
4460
4460
  }
4461
4461
  if (Browser.isDevice) {
4462
- if (!isNullOrUndefined(this.mobilePopupWrapper)) {
4462
+ if (!isNullOrUndefined(this.mobilePopupWrapper) && (prevent && (isNullOrUndefined(this.preventArgs) || !this.preventArgs.cancel))) {
4463
4463
  this.mobilePopupWrapper.remove();
4464
4464
  this.mobilePopupWrapper = null;
4465
4465
  }