File tree 2 files changed +6
-4
lines changed
2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -798,15 +798,18 @@ var FixedDataTable = createReactClass({
798
798
style = { { top : footOffsetTop } }
799
799
/> ;
800
800
}
801
-
801
+ var tabIndex = null
802
+ if ( this . props . keyboardPageEnabled || this . props . keyboardScrollEnabled ) {
803
+ tabIndex = 0
804
+ }
802
805
return (
803
806
< div
804
807
className = { joinClasses (
805
808
this . state . className ,
806
809
cx ( 'fixedDataTableLayout/main' ) ,
807
810
cx ( 'public/fixedDataTable/main' ) ,
808
811
) }
809
- tabIndex = { 0 }
812
+ tabIndex = { tabIndex }
810
813
onKeyDown = { this . _onKeyDown }
811
814
onWheel = { this . _wheelHandler . onWheel }
812
815
onTouchStart = { this . _touchHandler . onTouchStart }
Original file line number Diff line number Diff line change @@ -186,8 +186,7 @@ var Scrollbar = createReactClass({
186
186
onWheel = { this . _wheelHandler . onWheel }
187
187
className = { mainClassName }
188
188
ref = { this . rootRef }
189
- style = { mainStyle }
190
- tabIndex = { 0 } >
189
+ style = { mainStyle } >
191
190
< div
192
191
ref = { this . faceRef }
193
192
className = { faceClassName }
You can’t perform that action at this time.
0 commit comments