react-multiple-sticky
Advanced tools
Comparing version
@@ -13,2 +13,3 @@ import * as React from 'react'; | ||
contentStyle?: React.CSSProperties; | ||
overscanRowCount?: number; | ||
onScroll?: () => void; | ||
@@ -15,0 +16,0 @@ } |
@@ -122,3 +122,3 @@ "use strict"; | ||
var scrollHandler = _this.props.disableStickyHeader ? _this.props.onScroll : _this.scrollHandler; | ||
return React.createElement(react_virtualized_1.List, { ref: "list", width: _this.props.width, height: _this.props.height, rowCount: list.length, rowHeight: rowHeight, rowRenderer: renderRow, overscanRowCount: 100, onScroll: scrollHandler, style: { outline: 'none', overflowX: 'hidden' } }); | ||
return React.createElement(react_virtualized_1.List, { ref: "list", width: _this.props.width, height: _this.props.height, rowCount: list.length, rowHeight: rowHeight, rowRenderer: renderRow, overscanRowCount: _this.props.overscanRowCount, onScroll: scrollHandler, style: { outline: 'none', overflowX: 'hidden' } }); | ||
}; | ||
@@ -125,0 +125,0 @@ _this.state = { |
{ | ||
"name": "react-multiple-sticky", | ||
"version": "0.5.2", | ||
"version": "0.5.3", | ||
"description": "React component to implement multiple sticky elements when parent container is scrolling", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
22973
0.24%429
0.23%