@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.
@@ -5363,7 +5363,7 @@ let DateRangePicker = class DateRangePicker extends CalendarBase {
5363
5363
  /**
5364
5364
  * Mobile View
5365
5365
  */
5366
- this.isMobile = (Browser.isDevice && this.fullScreenMode) ? true : window.matchMedia('(max-width:550px)').matches;
5366
+ this.isMobile = (Browser.isDevice) ? true : window.matchMedia('(max-width:550px)').matches;
5367
5367
  this.inputElement = this.element;
5368
5368
  this.angularTag = null;
5369
5369
  if (this.element.tagName === 'EJS-DATERANGEPICKER') {
@@ -10694,7 +10694,7 @@ let TimePicker = class TimePicker extends Component {
10694
10694
  }
10695
10695
  inputHandler(event) {
10696
10696
  if (!this.readonly && this.enabled) {
10697
- if (event.action !== 'right' && event.action !== 'left' && event.action !== 'tab') {
10697
+ if (!((event.action == 'right' || event.action == 'left' || event.action == 'tab') || ((event.action == 'home' || event.action == 'end') && !this.isPopupOpen()))) {
10698
10698
  event.preventDefault();
10699
10699
  }
10700
10700
  switch (event.action) {
@@ -10714,7 +10714,7 @@ let TimePicker = class TimePicker extends Component {
10714
10714
  e: event
10715
10715
  });
10716
10716
  }
10717
- if (!this.enableMask || this.isPopupOpen()) {
10717
+ if (this.isPopupOpen()) {
10718
10718
  this.keyHandler(event);
10719
10719
  }
10720
10720
  break;