Skip to content

Commit e89de16

Browse files
author
pipeline
committed
v18.3.44 is released
1 parent 9fc0be2 commit e89de16

File tree

381 files changed

+16389
-2584
lines changed

Some content is hidden

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

381 files changed

+16389
-2584
lines changed

controls/base/CHANGELOG.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,23 @@
22

33
## [Unreleased]
44

5-
## 18.3.42 (2020-10-20)
5+
## 18.3.44 (2020-10-27)
66

77
### Common
88

99
#### Bug Fixes
1010

11+
- `I291462` - Resolved CSS Dimension Properties not accepts `viewport` and `em`.
1112
- `F158279` - Resolved `Draggable` element jumps out of the view while scrolling.
13+
- `I292035` - Resolved Touch functionality is not working with draggable.
14+
15+
## 18.3.40 (2020-10-13)
16+
17+
### Common
18+
19+
#### Bug Fixes
20+
21+
- `F16367` - Resolved `& ampersand` symbol produce the issue, while `enableHTMLSanitizer` set to true.
1222

1323
## 17.4.51 (2020-02-25)
1424

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: 10 additions & 6 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: 10 additions & 6 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: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,7 @@ function print(element, printWindow) {
350350
*/
351351
function formatUnit(value) {
352352
var result = value + '';
353-
if (result === 'auto' || result.indexOf('%') !== -1 || result.indexOf('px') !== -1) {
353+
if (result.match(/auto|%|px|vh|vm|vmax|vmin|em/)) {
354354
return result;
355355
}
356356
return result + 'px';
@@ -7505,7 +7505,7 @@ var Draggable = /** @class */ (function (_super) {
75057505
}
75067506
}
75077507
}
7508-
if (this.preventDefault && !isUndefined(evt.changedTouches)) {
7508+
if (this.preventDefault && !isUndefined(evt.changedTouches) && evt.type !== 'touchstart') {
75097509
evt.preventDefault();
75107510
}
75117511
this.element.setAttribute('aria-grabbed', 'true');
@@ -7601,8 +7601,8 @@ var Draggable = /** @class */ (function (_super) {
76017601
}
76027602
this.getScrollableValues();
76037603
var posValue = this.getProcessedPositionValue({
7604-
top: (pos.top - this.diffY - this.parentScrollY) + 'px',
7605-
left: (pos.left - this.diffX - this.parentScrollX) + 'px'
7604+
top: (pos.top - this.diffY - (this.clone ? 0 : this.parentScrollY)) + 'px',
7605+
left: (pos.left - this.diffX - (this.clone ? 0 : this.parentScrollX)) + 'px'
76067606
});
76077607
this.dragElePosition = { top: pos.top, left: pos.left };
76087608
setStyleAttribute(dragTargetElement, this.getDragPosition({ position: 'absolute', left: posValue.left, top: posValue.top }));
@@ -7756,8 +7756,12 @@ var Draggable = /** @class */ (function (_super) {
77567756
draEleLeft = (left - iLeft) < 0 ? this.dragElePosition.left : (left - iLeft);
77577757
}
77587758
else {
7759-
draEleTop = top - iTop - this.parentScrollY;
7760-
draEleLeft = left - iLeft - this.parentScrollX;
7759+
draEleTop = top - iTop;
7760+
draEleLeft = left - iLeft;
7761+
}
7762+
if (!this.clone) {
7763+
draEleTop -= this.parentScrollY;
7764+
draEleLeft -= this.parentScrollX;
77617765
}
77627766
var dragValue = this.getProcessedPositionValue({ top: draEleTop + 'px', left: draEleLeft + 'px' });
77637767
setStyleAttribute(helperElement, this.getDragPosition(dragValue));

controls/base/dist/global/ej2-base.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/global/ej2-base.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.

0 commit comments

Comments
 (0)