igniteui-angular 12.3.36 → 12.3.37

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.
@@ -23951,7 +23951,7 @@
23951
23951
  var ghostMarginLeft = parseInt(document.defaultView.getComputedStyle(this.ghostElement)['margin-left'], 10);
23952
23952
  var ghostMarginTop = parseInt(document.defaultView.getComputedStyle(this.ghostElement)['margin-top'], 10);
23953
23953
  this.ghostElement.style.left = (this._ghostStartX - ghostMarginLeft + totalMovedX - this._ghostHostX) + 'px';
23954
- this.ghostElement.style.top = (this._ghostStartY - ghostMarginTop + totalMovedY - this._ghostHostX) + 'px';
23954
+ this.ghostElement.style.top = (this._ghostStartY - ghostMarginTop + totalMovedY - this._ghostHostY) + 'px';
23955
23955
  if (this.pointerEventsEnabled) {
23956
23956
  // The ghostElement takes control for moving and dragging after it has been rendered.
23957
23957
  if (this._pointerDownId !== null) {
@@ -41404,7 +41404,12 @@
41404
41404
  }
41405
41405
  return current === _this.selection[0];
41406
41406
  });
41407
- _this.dropdown.navigateItem(index);
41407
+ if (!_this.isRemote) {
41408
+ // navigate to item only if we have local data
41409
+ // as with remote data this will fiddle with igxFor's scroll handler
41410
+ // and will trigger another chunk load which will break the visualization
41411
+ _this.dropdown.navigateItem(index);
41412
+ }
41408
41413
  }
41409
41414
  });
41410
41415
  this.dropdown.opening.pipe(operators.takeUntil(this.destroy$)).subscribe(function () {