Skip to content

Commit 43f581d

Browse files
author
pipeline
committed
v18.3.51 is released
1 parent d8f7df3 commit 43f581d

File tree

418 files changed

+7950
-3340
lines changed

Some content is hidden

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

418 files changed

+7950
-3340
lines changed

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: 12 additions & 5 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: 12 additions & 5 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: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5337,10 +5337,12 @@ function querySelectId(selector) {
53375337
for (var i = 0; i < idList.length; i++) {
53385338
var list = idList[i].split(' ');
53395339
for (var j = 0; j < list.length; j++) {
5340-
if (list[j].match(/#/)) {
5341-
var splitId = list[j].split('#');
5342-
if (splitId[1].match(/^\d/)) {
5343-
list[j] = list[j].replace(/#/, '[id=\'') + '\']';
5340+
if (list[j].indexOf('#') > -1) {
5341+
if (!list[j].match(/\[.*\]/)) {
5342+
var splitId = list[j].split('#');
5343+
if (splitId[1].match(/^\d/)) {
5344+
list[j] = list[j].replace(/#/, '[id=\'') + '\']';
5345+
}
53445346
}
53455347
}
53465348
}
@@ -7554,7 +7556,9 @@ var Draggable = /** @class */ (function (_super) {
75547556
EventHandler.add(document, Browser.touchEndEvent, this.intDestroy, this);
75557557
}
75567558
this.toggleEvents(true);
7557-
document.body.classList.add('e-prevent-select');
7559+
if (evt.type !== 'touchstart' && this.isPreventSelect) {
7560+
document.body.classList.add('e-prevent-select');
7561+
}
75587562
this.externalInitialize = false;
75597563
EventHandler.trigger(document.documentElement, Browser.touchStartEvent, evt);
75607564
};
@@ -8038,6 +8042,9 @@ var Draggable = /** @class */ (function (_super) {
80388042
__decorate$2([
80398043
Property()
80408044
], Draggable.prototype, "isReplaceDragEle", void 0);
8045+
__decorate$2([
8046+
Property(true)
8047+
], Draggable.prototype, "isPreventSelect", void 0);
80418048
__decorate$2([
80428049
Event$1()
80438050
], Draggable.prototype, "drag", void 0);

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.

controls/base/src/dom.ts

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -280,10 +280,12 @@ function querySelectId(selector: string): string {
280280
for (let i: number = 0; i < idList.length; i++) {
281281
let list: string[] = idList[i].split(' ');
282282
for (let j: number = 0; j < list.length; j++) {
283-
if (list[j].match(/#/)) {
284-
let splitId: string[] = list[j].split('#');
285-
if (splitId[1].match(/^\d/)) {
286-
list[j] = list[j].replace(/#/, '[id=\'') + '\']';
283+
if (list[j].indexOf('#') > -1) {
284+
if (!list[j].match(/\[.*\]/)) {
285+
let splitId: string[] = list[j].split('#');
286+
if (splitId[1].match(/^\d/)) {
287+
list[j] = list[j].replace(/#/, '[id=\'') + '\']';
288+
}
287289
}
288290
}
289291
}

0 commit comments

Comments
 (0)