fixed-data-table-2
Advanced tools
Comparing version 1.0.0-beta.16 to 1.0.0-beta.17
@@ -341,2 +341,12 @@ <!-- File generated from "src/FixedDataTable.js" --> | ||
### `stopScrollDefaultHandling` | ||
If enabled scroll events will never be bubbled to the browser default handler. | ||
If disabled (default when unspecified), scroll events will be bubbled up if the scroll | ||
doesn't lead to a change in scroll offsets, which is preferable if you like | ||
the page/container to scroll up when the table is already scrolled up max. | ||
type: `bool` | ||
### `stopScrollPropagation` | ||
@@ -343,0 +353,0 @@ |
@@ -39,3 +39,3 @@ /** | ||
FixedDataTableRoot.version = '1.0.0-beta.16'; | ||
FixedDataTableRoot.version = '1.0.0-beta.17'; | ||
module.exports = FixedDataTableRoot; |
@@ -172,3 +172,2 @@ 'use strict'; | ||
onTouchStart: this._onTouchStart, | ||
onWheel: this._wheelHandler.onWheel, | ||
className: mainClassName, | ||
@@ -198,2 +197,3 @@ style: mainStyle, | ||
value: function componentDidMount() { | ||
this._rootRef && this._rootRef.addEventListener('wheel', this._wheelHandler.onWheel, { passive: false }); | ||
this._mouseMoveTracker = new _DOMMouseMoveTracker2.default(this._onMouseMove, this._onMouseMoveEnd, document.documentElement, this.props.touchEnabled); | ||
@@ -209,2 +209,3 @@ | ||
value: function componentWillUnmount() { | ||
this._rootRef && this._rootRef.removeEventListener('wheel', this._wheelHandler.onWheel, { passive: false }); | ||
this._nextState = null; | ||
@@ -211,0 +212,0 @@ this._mouseMoveTracker.releaseMouseMoves(); |
{ | ||
"name": "fixed-data-table-2", | ||
"version": "1.0.0-beta.16", | ||
"version": "1.0.0-beta.17", | ||
"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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1669861
140
29442