fixed-data-table-2
Advanced tools
Comparing version
@@ -245,2 +245,3 @@ 'use strict'; | ||
}, _this._onRef = function (div) { | ||
_this._divRef = div; | ||
if (_this.props.stopReactWheelPropagation) { | ||
@@ -504,2 +505,3 @@ _this._wheelHandler.setRoot(div); | ||
value: function componentWillUnmount() { | ||
this._divRef && this._divRef.removeEventListener('wheel', this._wheelHandler.onWheel, { passive: false }); | ||
this._wheelHandler = null; | ||
@@ -565,2 +567,3 @@ this._touchHandler = null; | ||
value: function componentDidMount() { | ||
this._divRef && this._divRef.addEventListener('wheel', this._wheelHandler.onWheel, { passive: false }); | ||
this._reportContentHeight(); | ||
@@ -764,3 +767,2 @@ } | ||
onKeyDown: this._onKeyDown, | ||
onWheel: this._wheelHandler.onWheel, | ||
onTouchStart: this._touchHandler.onTouchStart, | ||
@@ -767,0 +769,0 @@ onTouchEnd: this._touchHandler.onTouchEnd, |
@@ -39,3 +39,3 @@ /** | ||
FixedDataTableRoot.version = '1.0.0-beta.13'; | ||
FixedDataTableRoot.version = '1.0.0-beta.14'; | ||
module.exports = FixedDataTableRoot; |
{ | ||
"name": "fixed-data-table-2", | ||
"version": "1.0.0-beta.13", | ||
"version": "1.0.0-beta.14", | ||
"description": "A React table component designed to allow presenting thousands of rows of data.", | ||
@@ -5,0 +5,0 @@ "main": "main.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
1658882
0.03%29150
0.01%