|
1 | 1 | /**
|
2 |
| - * FixedDataTable v0.8.14 |
| 2 | + * FixedDataTable v0.8.15 |
3 | 3 | *
|
4 | 4 | * Copyright Schrodinger, LLC
|
5 | 5 | * All rights reserved.
|
@@ -1767,8 +1767,7 @@ var Scrollbar = (0, _createReactClass2.default)({
|
1767 | 1767 | onWheel: this._wheelHandler.onWheel,
|
1768 | 1768 | className: mainClassName,
|
1769 | 1769 | ref: this.rootRef,
|
1770 |
| - style: mainStyle, |
1771 |
| - tabIndex: 0 }, |
| 1770 | + style: mainStyle }, |
1772 | 1771 | _React2.default.createElement('div', {
|
1773 | 1772 | ref: this.faceRef,
|
1774 | 1773 | className: faceClassName,
|
@@ -3349,7 +3348,7 @@ var FixedDataTableRoot = {
|
3349 | 3348 | Table: _FixedDataTable2.default
|
3350 | 3349 | };
|
3351 | 3350 |
|
3352 |
| -FixedDataTableRoot.version = '0.8.14'; |
| 3351 | +FixedDataTableRoot.version = '0.8.15'; |
3353 | 3352 | module.exports = FixedDataTableRoot;
|
3354 | 3353 |
|
3355 | 3354 | /***/ }),
|
@@ -4138,12 +4137,15 @@ var FixedDataTable = (0, _createReactClass2.default)({
|
4138 | 4137 | style: { top: footOffsetTop }
|
4139 | 4138 | });
|
4140 | 4139 | }
|
4141 |
| - |
| 4140 | + var tabIndex = null; |
| 4141 | + if (this.props.keyboardPageEnabled || this.props.keyboardScrollEnabled) { |
| 4142 | + tabIndex = 0; |
| 4143 | + } |
4142 | 4144 | return _React2.default.createElement(
|
4143 | 4145 | 'div',
|
4144 | 4146 | {
|
4145 | 4147 | className: (0, _joinClasses2.default)(this.state.className, (0, _cx2.default)('fixedDataTableLayout/main'), (0, _cx2.default)('public/fixedDataTable/main')),
|
4146 |
| - tabIndex: 0, |
| 4148 | + tabIndex: tabIndex, |
4147 | 4149 | onKeyDown: this._onKeyDown,
|
4148 | 4150 | onWheel: this._wheelHandler.onWheel,
|
4149 | 4151 | onTouchStart: this._touchHandler.onTouchStart,
|
|
0 commit comments