Skip to content

Commit

Permalink
one more minor improvement
Browse files Browse the repository at this point in the history
  • Loading branch information
vursen committed Oct 16, 2024
1 parent 83dd3ca commit f6d22f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/grid/src/vaadin-grid-keyboard-navigation-mixin.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ export const KeyboardNavigationMixin = (superClass) =>

/** @private */
get __rowFocusMode() {
return isRow(this._itemsFocusable) || isRow(this._headerFocusable) || isRow(this._footerFocusable);
return [this._headerFocusable, this._itemsFocusable, this._footerFocusable].some(isRow);
}

set __rowFocusMode(value) {
Expand Down

0 comments on commit f6d22f6

Please sign in to comment.