@vikadata/table
Advanced tools
Comparing version 0.0.1 to 0.0.2
@@ -368,2 +368,3 @@ "use strict"; | ||
height: getRowHeight(_this.props, rowIndex, _this._instanceProps), | ||
zIndex: 2, | ||
} | ||
@@ -387,4 +388,6 @@ }], frozenColElements)); | ||
var rowPosition = 'absolute'; | ||
var zIndex = 1; | ||
if (hasHeader && rowIndex === 0) { | ||
rowPosition = 'sticky'; | ||
zIndex = 2; | ||
} | ||
@@ -399,2 +402,3 @@ var eachRowEle = react_1.createElement.apply(void 0, __spread(['div', { | ||
width: estimatedTotalWidth, | ||
zIndex: zIndex, | ||
} | ||
@@ -401,0 +405,0 @@ }], eachRowChildren)); |
{ | ||
"name": "@vikadata/table", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"description": "React components for efficiently rendering large, scrollable lists and tabular data", | ||
@@ -5,0 +5,0 @@ "author": "Brian Vaughn <brian.david.vaughn@gmail.com> (https://github.com/bvaughn/)", |
268283
5239