@syncfusion/ej2-calendars 23.1.41 → 23.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.
@@ -3346,7 +3346,7 @@ let DatePicker = class DatePicker extends Calendar {
3346
3346
  this.inputElement.setAttribute('aria-disabled', 'false');
3347
3347
  this.inputElement.setAttribute('tabindex', this.tabIndex);
3348
3348
  }
3349
- Input.addAttributes({ 'aria-label': 'select' }, this.inputWrapper.buttons[0]);
3349
+ Input.addAttributes({ 'aria-label': 'select', 'role': 'button' }, this.inputWrapper.buttons[0]);
3350
3350
  addClass([this.inputWrapper.container], DATEWRAPPER);
3351
3351
  }
3352
3352
  updateInput(isDynamic = false, isBlur = false) {
@@ -3535,7 +3535,7 @@ let DatePicker = class DatePicker extends Calendar {
3535
3535
  }
3536
3536
  }
3537
3537
  bindEvents() {
3538
- EventHandler.add(this.inputWrapper.buttons[0], 'mousedown touchstart', this.dateIconHandler, this);
3538
+ EventHandler.add(this.inputWrapper.buttons[0], 'mousedown', this.dateIconHandler, this);
3539
3539
  EventHandler.add(this.inputElement, 'mouseup', this.mouseUpHandler, this);
3540
3540
  EventHandler.add(this.inputElement, 'focus', this.inputFocusHandler, this);
3541
3541
  EventHandler.add(this.inputElement, 'blur', this.inputBlurHandler, this);
@@ -3584,7 +3584,7 @@ let DatePicker = class DatePicker extends Calendar {
3584
3584
  }
3585
3585
  unBindEvents() {
3586
3586
  if (!isNullOrUndefined(this.inputWrapper)) {
3587
- EventHandler.remove(this.inputWrapper.buttons[0], 'mousedown touchstart', this.dateIconHandler);
3587
+ EventHandler.remove(this.inputWrapper.buttons[0], 'mousedown', this.dateIconHandler);
3588
3588
  }
3589
3589
  EventHandler.remove(this.inputElement, 'mouseup', this.mouseUpHandler);
3590
3590
  EventHandler.remove(this.inputElement, 'focus', this.inputFocusHandler);