@fundamental-ngx/cdk 0.56.4-rc.6 → 0.56.4-rc.8
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.
|
@@ -2753,6 +2753,8 @@ class FocusableGridDirective {
|
|
|
2753
2753
|
/** Event emitted when whole row focused, contains row's position info. */
|
|
2754
2754
|
this.rowFocused = new EventEmitter();
|
|
2755
2755
|
/** @hidden */
|
|
2756
|
+
this._preventKeydown = false;
|
|
2757
|
+
/** @hidden */
|
|
2756
2758
|
this._destroyRef = inject(DestroyRef);
|
|
2757
2759
|
}
|
|
2758
2760
|
/** @hidden */
|
|
@@ -2790,7 +2792,8 @@ class FocusableGridDirective {
|
|
|
2790
2792
|
}
|
|
2791
2793
|
/** @hidden */
|
|
2792
2794
|
_onKeydown(event, list, activeItemIndex) {
|
|
2793
|
-
if (!KeyUtil.isKeyCode(event, [UP_ARROW, DOWN_ARROW, LEFT_ARROW, RIGHT_ARROW, PAGE_DOWN, PAGE_UP])
|
|
2795
|
+
if (!KeyUtil.isKeyCode(event, [UP_ARROW, DOWN_ARROW, LEFT_ARROW, RIGHT_ARROW, PAGE_DOWN, PAGE_UP]) ||
|
|
2796
|
+
this._preventKeydown) {
|
|
2794
2797
|
return;
|
|
2795
2798
|
}
|
|
2796
2799
|
const lists = this._focusableLists.toArray();
|