@progress/kendo-angular-layout 7.0.2 → 7.0.3-dev.202206061201
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.
|
@@ -9,7 +9,7 @@ export const packageMetadata = {
|
|
|
9
9
|
name: '@progress/kendo-angular-layout',
|
|
10
10
|
productName: 'Kendo UI for Angular',
|
|
11
11
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
12
|
-
publishDate:
|
|
12
|
+
publishDate: 1654516822,
|
|
13
13
|
version: '',
|
|
14
14
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning'
|
|
15
15
|
};
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
import { Injectable } from '@angular/core';
|
|
6
6
|
import { BehaviorSubject, Subject } from 'rxjs';
|
|
7
7
|
import { calculateCellFromPosition, getDropTarget, isRowItemPresent, normalizeValue, propsChanged, setElementStyles } from './util';
|
|
8
|
-
import { closestInScope } from '../common/dom-queries';
|
|
8
|
+
import { closestInScope, isFocusable } from '../common/dom-queries';
|
|
9
9
|
import { DRAGGED_ZINDEX, HINT_BORDERS_HEIGHT, OVERLAP_THRESHOLD, REVERSE_OVERLAP_THRESHOLD } from './constants';
|
|
10
10
|
import { TileLayoutReorderEvent } from './reorder-event';
|
|
11
11
|
import { TileLayoutResizeEvent } from './resize-event';
|
|
@@ -57,7 +57,8 @@ export class TileLayoutDraggingService {
|
|
|
57
57
|
.find(item => item.order === +closestTile.style.order);
|
|
58
58
|
});
|
|
59
59
|
const reordering = !resizing && this.reorderable.getValue() && this.draggedItem.reorderable && closestHeader;
|
|
60
|
-
|
|
60
|
+
const focusableTarget = isFocusable(originalEvent.target);
|
|
61
|
+
if (!(reordering || resizing) || focusableTarget) {
|
|
61
62
|
return;
|
|
62
63
|
}
|
|
63
64
|
else {
|
|
@@ -26,7 +26,7 @@ const packageMetadata = {
|
|
|
26
26
|
name: '@progress/kendo-angular-layout',
|
|
27
27
|
productName: 'Kendo UI for Angular',
|
|
28
28
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
29
|
-
publishDate:
|
|
29
|
+
publishDate: 1654516822,
|
|
30
30
|
version: '',
|
|
31
31
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning'
|
|
32
32
|
};
|
|
@@ -7410,7 +7410,8 @@ class TileLayoutDraggingService {
|
|
|
7410
7410
|
.find(item => item.order === +closestTile.style.order);
|
|
7411
7411
|
});
|
|
7412
7412
|
const reordering = !resizing && this.reorderable.getValue() && this.draggedItem.reorderable && closestHeader;
|
|
7413
|
-
|
|
7413
|
+
const focusableTarget = isFocusable(originalEvent.target);
|
|
7414
|
+
if (!(reordering || resizing) || focusableTarget) {
|
|
7414
7415
|
return;
|
|
7415
7416
|
}
|
|
7416
7417
|
else {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-angular-layout",
|
|
3
|
-
"version": "7.0.
|
|
3
|
+
"version": "7.0.3-dev.202206061201",
|
|
4
4
|
"description": "Kendo UI for Angular Layout Package - a collection of components to create professional application layoyts",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "Progress",
|