@syncfusion/ej2-calendars 20.3.47 → 20.3.49

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.
@@ -3209,7 +3209,7 @@ let DatePicker = class DatePicker extends Calendar {
3209
3209
  }
3210
3210
  createInput() {
3211
3211
  const ariaAttrs = {
3212
- 'aria-live': 'assertive', 'aria-atomic': 'true', 'aria-expanded': 'false',
3212
+ 'aria-atomic': 'true', 'aria-expanded': 'false',
3213
3213
  'role': 'combobox', 'autocomplete': 'off', 'autocorrect': 'off',
3214
3214
  'autocapitalize': 'off', 'spellcheck': 'false', 'aria-invalid': 'false'
3215
3215
  };
@@ -4408,7 +4408,7 @@ let DatePicker = class DatePicker extends Calendar {
4408
4408
  super.destroy();
4409
4409
  }
4410
4410
  const ariaAttrs = {
4411
- 'aria-live': 'assertive', 'aria-atomic': 'true', 'aria-disabled': 'true',
4411
+ 'aria-atomic': 'true', 'aria-disabled': 'true',
4412
4412
  'aria-expanded': 'false', 'role': 'combobox', 'autocomplete': 'off',
4413
4413
  'autocorrect': 'off', 'autocapitalize': 'off', 'spellcheck': 'false'
4414
4414
  };
@@ -5765,10 +5765,12 @@ let DateRangePicker = class DateRangePicker extends CalendarBase {
5765
5765
  this.updateHeader();
5766
5766
  }
5767
5767
  clearCalendarEvents() {
5768
- EventHandler.clearEvents(this.leftCalPrevIcon);
5769
- EventHandler.clearEvents(this.leftCalNextIcon);
5770
- EventHandler.clearEvents(this.rightCalPrevIcon);
5771
- EventHandler.clearEvents(this.rightCalNextIcon);
5768
+ if (this.leftCalPrevIcon && this.leftCalNextIcon && this.rightCalPrevIcon && this.rightCalNextIcon) {
5769
+ EventHandler.clearEvents(this.leftCalPrevIcon);
5770
+ EventHandler.clearEvents(this.leftCalNextIcon);
5771
+ EventHandler.clearEvents(this.rightCalPrevIcon);
5772
+ EventHandler.clearEvents(this.rightCalNextIcon);
5773
+ }
5772
5774
  }
5773
5775
  updateNavIcons() {
5774
5776
  super.iconHandler();
@@ -6787,6 +6789,7 @@ let DateRangePicker = class DateRangePicker extends CalendarBase {
6787
6789
  }
6788
6790
  }
6789
6791
  addClass([ele], SELECTED$3);
6792
+ this.calendarIconEvent();
6790
6793
  this.updateHeader();
6791
6794
  this.removeFocusedDate();
6792
6795
  }