Skip to content

Commit ff83f67

Browse files
author
Alyar
committed
refactor: address PR review comments on keyboard navigation
- Remove underscore prefix from private/protected methods - Rename editingOptions to hasEditingOptions for clarity - Simplify getNextCellByTabKey return logic - Extract setCellFocusType() call from getCellFocusInfo to caller
1 parent 0a5745d commit ff83f67

3 files changed

Lines changed: 63 additions & 65 deletions

File tree

packages/devextreme/js/__internal/grids/grid_core/focus/m_focus.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -478,7 +478,7 @@ const keyboardNavigation = (Base: ModuleType<KeyboardNavigationController>) => c
478478
}
479479
if (this.isCellFocusType()) {
480480
this.setRowFocusType();
481-
this._focus(this._getCellElementFromTarget(eventArgs.originalEvent.target), true);
481+
this._focus(this.getCellElementFromTarget(eventArgs.originalEvent.target), true);
482482

483483
return true;
484484
}

0 commit comments

Comments
 (0)