@syncfusion/ej2-calendars 22.2.9 → 22.2.11

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.
@@ -5435,7 +5435,7 @@ var DateRangePicker = /** @__PURE__ @class */ (function (_super) {
5435
5435
  /**
5436
5436
  * Mobile View
5437
5437
  */
5438
- this.isMobile = (Browser.isDevice && this.fullScreenMode) ? true : window.matchMedia('(max-width:550px)').matches;
5438
+ this.isMobile = (Browser.isDevice) ? true : window.matchMedia('(max-width:550px)').matches;
5439
5439
  this.inputElement = this.element;
5440
5440
  this.angularTag = null;
5441
5441
  if (this.element.tagName === 'EJS-DATERANGEPICKER') {
@@ -10815,7 +10815,7 @@ var TimePicker = /** @__PURE__ @class */ (function (_super) {
10815
10815
  };
10816
10816
  TimePicker.prototype.inputHandler = function (event) {
10817
10817
  if (!this.readonly && this.enabled) {
10818
- if (event.action !== 'right' && event.action !== 'left' && event.action !== 'tab') {
10818
+ if (!((event.action == 'right' || event.action == 'left' || event.action == 'tab') || ((event.action == 'home' || event.action == 'end') && !this.isPopupOpen()))) {
10819
10819
  event.preventDefault();
10820
10820
  }
10821
10821
  switch (event.action) {
@@ -10835,7 +10835,7 @@ var TimePicker = /** @__PURE__ @class */ (function (_super) {
10835
10835
  e: event
10836
10836
  });
10837
10837
  }
10838
- if (!this.enableMask || this.isPopupOpen()) {
10838
+ if (this.isPopupOpen()) {
10839
10839
  this.keyHandler(event);
10840
10840
  }
10841
10841
  break;