Skip to content

Commit 3264bf7

Browse files
author
pipeline
committed
v18.3.48 is released
1 parent e6d07ea commit 3264bf7

File tree

445 files changed

+5764
-3614
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

445 files changed

+5764
-3614
lines changed

controls/base/CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,14 @@
22

33
## [Unreleased]
44

5+
## 18.3.48 (2020-11-11)
6+
7+
### Common
8+
9+
#### Bug Fixes
10+
11+
- Resolved `Accuracy` issue - while drag faster, Cursor and clone element have some distance gap.
12+
513
## 18.3.44 (2020-10-27)
614

715
### Common

controls/base/dist/ej2-base.umd.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

controls/base/dist/ej2-base.umd.min.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

controls/base/dist/es6/ej2-base.es2015.js

Lines changed: 15 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

controls/base/dist/es6/ej2-base.es2015.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

controls/base/dist/es6/ej2-base.es5.js

Lines changed: 15 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

controls/base/dist/es6/ej2-base.es5.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

controls/base/dist/global/blazor/base.js

Lines changed: 15 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -7600,9 +7600,13 @@ var Draggable = /** @class */ (function (_super) {
76007600
this.diffY = this.position.top - this.offset.top;
76017601
}
76027602
this.getScrollableValues();
7603+
if (!this.clone && !this.dragArea) {
7604+
pos.top -= this.parentScrollY;
7605+
pos.left -= this.parentScrollX;
7606+
}
76037607
var posValue = this.getProcessedPositionValue({
7604-
top: (pos.top - this.diffY - (this.clone ? 0 : this.parentScrollY)) + 'px',
7605-
left: (pos.left - this.diffX - (this.clone ? 0 : this.parentScrollX)) + 'px'
7608+
top: (pos.top - this.diffY) + 'px',
7609+
left: (pos.left - this.diffX) + 'px'
76067610
});
76077611
this.dragElePosition = { top: pos.top, left: pos.left };
76087612
setStyleAttribute(dragTargetElement, this.getDragPosition({ position: 'absolute', left: posValue.left, top: posValue.top }));
@@ -7758,10 +7762,14 @@ var Draggable = /** @class */ (function (_super) {
77587762
else {
77597763
draEleTop = top - iTop;
77607764
draEleLeft = left - iLeft;
7761-
}
7762-
if (!this.clone) {
7763-
draEleTop -= this.parentScrollY;
7764-
draEleLeft -= this.parentScrollX;
7765+
if (!this.clone) {
7766+
draEleTop -= this.parentScrollY;
7767+
draEleLeft -= this.parentScrollX;
7768+
}
7769+
// Accuracy issue - while drag faster, Cursor and clone element have some distance gap
7770+
if (this.position.top !== draEleTop) {
7771+
draEleTop = this.position.top;
7772+
}
77657773
}
77667774
var dragValue = this.getProcessedPositionValue({ top: draEleTop + 'px', left: draEleLeft + 'px' });
77677775
setStyleAttribute(helperElement, this.getDragPosition(dragValue));
@@ -7898,12 +7906,7 @@ var Draggable = /** @class */ (function (_super) {
78987906
this.helperElement.style.pointerEvents = prevStyle;
78997907
}
79007908
else {
7901-
if (this.isReplaceDragEle) {
7902-
ele = this.currentStateCheck(evt.target);
7903-
}
7904-
else {
7905-
ele = evt.target;
7906-
}
7909+
ele = evt.target;
79077910
}
79087911
return ele;
79097912
};

0 commit comments

Comments
 (0)