@syncfusion/ej2-schedule 27.1.58 → 27.2.3

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.
@@ -10864,7 +10864,9 @@ class EventTooltip {
10864
10864
  removeClass([args.element], POPUP_OPEN);
10865
10865
  addClass([args.element], POPUP_CLOSE);
10866
10866
  }
10867
- this.parent.resetTemplates(['tooltipTemplate', 'headerTooltipTemplate']);
10867
+ if (!(this.parent.isReact && this.parent.eventWindow.dialogObject && this.parent.eventWindow.dialogObject.visible)) {
10868
+ this.parent.resetTemplates(['tooltipTemplate', 'headerTooltipTemplate']);
10869
+ }
10868
10870
  }
10869
10871
  setContent(content) {
10870
10872
  this.tooltipObj.setProperties({ content: content, windowCollision: true }, true);
@@ -21547,7 +21549,7 @@ class YearEvent extends TimelineEvent {
21547
21549
  if (eventObj[this.fields.isAllDay] && end === eventObj[this.fields.endTime].getTime() || isSpanned.isRight) {
21548
21550
  end = addDays(new Date(end), -1).getTime();
21549
21551
  }
21550
- isSpanned.count = Math.ceil((end - start) / MS_PER_DAY) + 1;
21552
+ isSpanned.count = Math.round((end - start) / MS_PER_DAY) + 1;
21551
21553
  }
21552
21554
  }
21553
21555
  eventData.isSpanned = isSpanned;