@glideapps/glide-data-grid
Advanced tools
Comparing version 3.0.0-beta7 to 3.0.0-beta8
@@ -250,3 +250,3 @@ "use strict"; | ||
if (!lastRowSticky || _row !== rows - 1) { | ||
if (!lastRowSticky || _row !== rows - 1 || ty !== stickyRowY) { | ||
ctx.moveTo(0, ty); | ||
@@ -253,0 +253,0 @@ ctx.lineTo(width, ty); |
@@ -13,3 +13,3 @@ "use strict"; | ||
function _templateObject() { | ||
var data = _taggedTemplateLiteral(["\n .dvn-scroller {\n overflow: ", ";\n transform: translate3d(0, 0, 0);\n }\n\n .dvn-scroll-inner {\n display: flex;\n pointer-events: none;\n\n > * {\n flex-shrink: 0;\n }\n }\n\n .dvn-underlay > * {\n position: absolute;\n left: 0;\n top: 0;\n }\n\n canvas {\n outline: none;\n\n * {\n height: 0;\n }\n }\n"]); | ||
var data = _taggedTemplateLiteral(["\n .dvn-scroller {\n overflow: ", ";\n transform: translate3d(0, 0, 0);\n }\n\n .dvn-scroll-inner {\n display: flex;\n pointer-events: none;\n\n > * {\n flex-shrink: 0;\n }\n\n .dvn-spacer {\n flex-grow: 1;\n }\n }\n\n .dvn-underlay > * {\n position: absolute;\n left: 0;\n top: 0;\n }\n\n canvas {\n outline: none;\n\n * {\n height: 0;\n }\n }\n"]); | ||
@@ -16,0 +16,0 @@ _templateObject = function _templateObject() { |
@@ -30,2 +30,3 @@ "use strict"; | ||
scrollToEnd = p.scrollToEnd, | ||
clientHeight = p.clientHeight, | ||
scrollRef = p.scrollRef, | ||
@@ -94,3 +95,5 @@ draggable = p.draggable, | ||
style: innerStyle | ||
}), rightElement !== undefined && /*#__PURE__*/React.createElement("div", { | ||
}), rightElement !== undefined && /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", { | ||
className: "dvn-spacer" | ||
}), /*#__PURE__*/React.createElement("div", { | ||
onMouseDown: nomEvent, | ||
@@ -101,2 +104,3 @@ onMouseUp: nomEvent, | ||
height: props.height, | ||
maxHeight: clientHeight, | ||
position: "sticky", | ||
@@ -108,3 +112,3 @@ top: 0, | ||
} | ||
}, rightElement)))); | ||
}, rightElement))))); | ||
})); | ||
@@ -111,0 +115,0 @@ }; |
@@ -226,2 +226,3 @@ "use strict"; | ||
scrollHeight: height, | ||
clientHeight: clientHeight, | ||
rightElement: rightElement, | ||
@@ -228,0 +229,0 @@ rightElementSticky: rightElementSticky, |
@@ -12,2 +12,3 @@ import * as React from "react"; | ||
readonly draggable: boolean; | ||
readonly clientHeight: number; | ||
readonly scrollWidth: number; | ||
@@ -14,0 +15,0 @@ readonly scrollToEnd?: boolean; |
{ | ||
"name": "@glideapps/glide-data-grid", | ||
"version": "3.0.0-beta7", | ||
"version": "3.0.0-beta8", | ||
"description": "Super fast, pure canvas Data Grid Editor", | ||
@@ -5,0 +5,0 @@ "main": "dist/js/index.js", |
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
423789
7498