react-konva-grid
Advanced tools
Comparing version 3.0.4 to 3.0.5
@@ -518,2 +518,6 @@ "use strict"; | ||
}, [selections]); | ||
/** | ||
* TODO | ||
* 1. Fill does not extend to merged cells | ||
*/ | ||
const handleFillHandleMouseMove = react_1.useCallback((e) => { | ||
@@ -520,0 +524,0 @@ /* Exit if user is not in selection mode */ |
@@ -25,3 +25,3 @@ "use strict"; | ||
position: "absolute", | ||
left: x - size / 2, | ||
left: x - size / 2 - strokeWidth, | ||
top: y - size / 2, | ||
@@ -28,0 +28,0 @@ width: size, |
{ | ||
"name": "react-konva-grid", | ||
"description": "Declarative React Canvas Grid primitive for Data table, Pivot table, Excel Worksheets", | ||
"version": "3.0.4", | ||
"version": "3.0.5", | ||
"main": "dist/index.js", | ||
@@ -6,0 +6,0 @@ "license": "MIT", |
@@ -141,2 +141,5 @@ ## Declarative Canvas Grid with React Konva | ||
| wrapper | false | Function | Inject custom context using a wrapper | (children) => children | | ||
| showFillHandle | false | boolean | Show fill handle at bottom right corner | true | | ||
| onFillHandleMouseDown | false | Function | Callback fired user selects fill handle | null | | ||
| fillSelection | false | SelectionProp | Area of selected fill | null | ||
@@ -143,0 +146,0 @@ ## Methods |
@@ -706,2 +706,6 @@ import React, { useState, useCallback, useRef, useEffect } from "react"; | ||
/** | ||
* TODO | ||
* 1. Fill does not extend to merged cells | ||
*/ | ||
const handleFillHandleMouseMove = useCallback( | ||
@@ -708,0 +712,0 @@ (e: globalThis.MouseEvent) => { |
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
397928
8710
252