@syncfusion/ej2-calendars 33.2.4 → 33.2.6

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.
@@ -5662,6 +5662,7 @@ let DateRangePicker = class DateRangePicker extends CalendarBase {
5662
5662
  this.preventFocus = false;
5663
5663
  this.invalidValueString = null;
5664
5664
  this.preventChange = false;
5665
+ this.isIconClick = false;
5665
5666
  this.dateRangeOptions = options;
5666
5667
  }
5667
5668
  /**
@@ -6512,6 +6513,9 @@ let DateRangePicker = class DateRangePicker extends CalendarBase {
6512
6513
  }
6513
6514
  }
6514
6515
  inputBlurHandler(e) {
6516
+ if (this.isIconClick) {
6517
+ e.stopImmediatePropagation();
6518
+ }
6515
6519
  this.updateFloatLabelOverflowWidth();
6516
6520
  if (!this.enabled) {
6517
6521
  return;
@@ -8425,6 +8429,9 @@ let DateRangePicker = class DateRangePicker extends CalendarBase {
8425
8429
  });
8426
8430
  }
8427
8431
  }
8432
+ if (this.isRangeIconClicked && this.openOnFocus) {
8433
+ this.isRangeIconClicked = false;
8434
+ }
8428
8435
  }
8429
8436
  onMouseClick(event, item) {
8430
8437
  if (event.type === 'touchstart') {
@@ -8814,7 +8821,9 @@ let DateRangePicker = class DateRangePicker extends CalendarBase {
8814
8821
  }
8815
8822
  else {
8816
8823
  this.preventBlur = true;
8824
+ this.isIconClick = true;
8817
8825
  this.leftCalendar.children[1].firstElementChild.focus();
8826
+ this.isIconClick = false;
8818
8827
  }
8819
8828
  }
8820
8829
  }