diff --git a/resources/scss/src/grid/View.scss b/resources/scss/src/grid/View.scss index 6bd2d5074..5a8f7a80d 100644 --- a/resources/scss/src/grid/View.scss +++ b/resources/scss/src/grid/View.scss @@ -5,6 +5,10 @@ overflow-y : auto; position : relative; + &:focus { + outline: none; + } + .neo-grid-scrollbar { height : 1px; position : absolute; diff --git a/src/grid/View.mjs b/src/grid/View.mjs index b7186f69a..1190b3965 100644 --- a/src/grid/View.mjs +++ b/src/grid/View.mjs @@ -121,7 +121,7 @@ class GridView extends Component { * @member {Object} _vdom */ _vdom: - {cn: [ + {tabIndex: '-1', cn: [ {cn: []}, {cls: 'neo-grid-scrollbar'} ]} @@ -428,8 +428,7 @@ class GridView extends Component { id : cellId, cls : cellCls, role : 'gridcell', - style : rendererOutput.style || {}, - tabIndex : '-1' + style : rendererOutput.style || {} }; if (column.width) { @@ -491,7 +490,6 @@ class GridView extends Component { cls : trCls, cn : [], role : 'row', - tabIndex : '-1', style: { height : me.rowHeight + 'px',