@fundamental-ngx/cdk 0.63.1-rc.8 → 0.63.1
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.
|
@@ -2613,7 +2613,7 @@ class FocusableItemDirective {
|
|
|
2613
2613
|
const activeEl = this._document.activeElement;
|
|
2614
2614
|
const isFocused = activeEl === this.elementRef.nativeElement;
|
|
2615
2615
|
const shouldFocusChild = KeyUtil.isKeyCode(event, [ENTER, MAC_ENTER, F2]) && !event.shiftKey && isFocused;
|
|
2616
|
-
const shouldFocusCell =
|
|
2616
|
+
const shouldFocusCell = KeyUtil.isKeyCode(event, [ESCAPE, F2]) && !isFocused;
|
|
2617
2617
|
if (shouldFocusChild) {
|
|
2618
2618
|
event.stopPropagation();
|
|
2619
2619
|
const tabbableElement = this._tabbableElementService.getTabbableElement(this.elementRef.nativeElement, false, true);
|