react-konva-grid
Advanced tools
Comparing version 2.8.19 to 2.8.20
@@ -44,4 +44,4 @@ "use strict"; | ||
return (react_1.default.createElement(react_konva_1.Group, Object.assign({}, rest), | ||
react_1.default.createElement(react_konva_1.Rect, { x: x, y: y, height: height, width: width, fill: fill, stroke: stroke, strokeWidth: strokeWidth, shadowForStrokeEnabled: false, hitStrokeWidth: 0, strokeHitEnabled: false }), | ||
helpers_1.isNull(value) ? null : (react_1.default.createElement(react_konva_1.Text, { x: x, y: y, height: height, width: width, text: value, fill: textColor, verticalAlign: verticalAlign, align: align, fontFamily: fontFamily, fontSize: fontSize, padding: padding, wrap: wrap, hitStrokeWidth: 0, strokeHitEnabled: false })), | ||
react_1.default.createElement(react_konva_1.Rect, { x: x, y: y, height: height, width: width, fill: fill, stroke: stroke, strokeWidth: strokeWidth, shadowForStrokeEnabled: false, hitStrokeWidth: 0 }), | ||
helpers_1.isNull(value) ? null : (react_1.default.createElement(react_konva_1.Text, { x: x, y: y, height: height, width: width, text: value, fill: textColor, verticalAlign: verticalAlign, align: align, fontFamily: fontFamily, fontSize: fontSize, padding: padding, wrap: wrap, hitStrokeWidth: 0 })), | ||
children)); | ||
@@ -48,0 +48,0 @@ }); |
@@ -227,6 +227,8 @@ "use strict"; | ||
} | ||
if (direction === types_1.Direction.Down) { | ||
/* Move to the next row + cell */ | ||
initialActiveCell.current = undefined; | ||
} | ||
/* If user has selected some cells and active cell is within this selection */ | ||
if (selections.length && currentCell && gridRef) { | ||
/* Move to the next row + cell */ | ||
initialActiveCell.current = undefined; | ||
const { bounds } = selections[selections.length - 1]; | ||
@@ -233,0 +235,0 @@ const activeCellBounds = gridRef.current.getCellBounds(currentCell); |
{ | ||
"name": "react-konva-grid", | ||
"description": "Declarative React Canvas Grid primitive for Data table, Pivot table, Excel Worksheets", | ||
"version": "2.8.19", | ||
"version": "2.8.20", | ||
"main": "dist/index.js", | ||
@@ -6,0 +6,0 @@ "license": "MIT", |
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
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
370153
57
8030