@syncfusion/ej2-schedule 26.2.7 → 26.2.10

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.
@@ -14127,6 +14127,7 @@ var VirtualScroll = /** @__PURE__ @class */ (function () {
14127
14127
  this.averageRowHeight = 0;
14128
14128
  this.startIndex = 0;
14129
14129
  this.existingDataCollection = [];
14130
+ this.enableTransition = true;
14130
14131
  this.parent = parent;
14131
14132
  this.addEventListener();
14132
14133
  }
@@ -14216,6 +14217,10 @@ var VirtualScroll = /** @__PURE__ @class */ (function () {
14216
14217
  var resWrap = this.parent.element.querySelector('.' + RESOURCE_COLUMN_WRAP_CLASS);
14217
14218
  var conWrap = this.parent.element.querySelector('.' + CONTENT_WRAP_CLASS);
14218
14219
  var eventWrap = this.parent.element.querySelector('.' + EVENT_TABLE_CLASS);
14220
+ if (!this.parent.rowAutoHeight) {
14221
+ this.enableTransition = false;
14222
+ removeClass([conWrap, resWrap], 'e-transition');
14223
+ }
14219
14224
  var firstTDIndex = parseInt(resWrap.querySelector('tbody td').getAttribute('data-group-index'), 10);
14220
14225
  var endIndex = (firstTDIndex + this.renderedLength);
14221
14226
  firstTDIndex = (endIndex > this.parent.resourceBase.expandedResources.length) ?
@@ -18600,6 +18605,12 @@ var Schedule = /** @__PURE__ @class */ (function (_super) {
18600
18605
  this.virtualScrollModule.isRemoteRefresh = false;
18601
18606
  }
18602
18607
  this.refreshEvents(isRemoteRefresh);
18608
+ if (this.virtualScrollModule && !this.virtualScrollModule.enableTransition) {
18609
+ var resWrap = this.element.querySelector('.' + RESOURCE_COLUMN_WRAP_CLASS);
18610
+ var conWrap = this.element.querySelector('.' + CONTENT_WRAP_CLASS);
18611
+ this.virtualScrollModule.enableTransition = true;
18612
+ addClass([conWrap, resWrap], 'e-transition');
18613
+ }
18603
18614
  }
18604
18615
  else {
18605
18616
  this.notify(contentReady, {});