@syncfusion/ej2-lists 21.2.6 → 21.2.9
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.
- package/CHANGELOG.md +14 -0
- package/dist/ej2-lists.min.js +2 -2
- package/dist/ej2-lists.umd.min.js +2 -2
- package/dist/ej2-lists.umd.min.js.map +1 -1
- package/dist/es6/ej2-lists.es2015.js +3 -2
- package/dist/es6/ej2-lists.es2015.js.map +1 -1
- package/dist/es6/ej2-lists.es5.js +3 -2
- package/dist/es6/ej2-lists.es5.js.map +1 -1
- package/dist/global/ej2-lists.min.js +2 -2
- package/dist/global/ej2-lists.min.js.map +1 -1
- package/dist/global/index.d.ts +1 -1
- package/package.json +7 -7
- package/src/list-view/list-view.js +1 -1
- package/src/sortable/sortable-model.d.ts +1 -1
- package/src/sortable/sortable.js +2 -1
|
@@ -1930,7 +1930,7 @@ let ListView = class ListView extends Component {
|
|
|
1930
1930
|
const focusedElement = this.curUL.querySelector('.' + classNames.focused);
|
|
1931
1931
|
if (focusedElement) {
|
|
1932
1932
|
focusedElement.classList.remove(classNames.focused);
|
|
1933
|
-
if (!this.showCheckBox) {
|
|
1933
|
+
if (!this.showCheckBox && !isNullOrUndefined(this.selectedLI)) {
|
|
1934
1934
|
this.selectedLI.classList.add(classNames.selected);
|
|
1935
1935
|
}
|
|
1936
1936
|
}
|
|
@@ -4554,7 +4554,8 @@ let Sortable = Sortable_1 = class Sortable extends Base {
|
|
|
4554
4554
|
}
|
|
4555
4555
|
const offset = target.getBoundingClientRect();
|
|
4556
4556
|
const clientY = offset.bottom - ((offset.bottom - offset.top) / 2);
|
|
4557
|
-
|
|
4557
|
+
const cltY = e.changedTouches ? e.changedTouches[0].clientY : e.clientY;
|
|
4558
|
+
idx = cltY <= clientY ? idx : idx + 1;
|
|
4558
4559
|
}
|
|
4559
4560
|
return;
|
|
4560
4561
|
}
|