@rowsncolumns/grid
Advanced tools
Comparing version 6.2.16 to 6.2.17
@@ -919,3 +919,3 @@ "use strict"; | ||
setActiveCell(coords); | ||
/* Set internal property */ | ||
/* Update selection start */ | ||
selectionStart.current = coords; | ||
@@ -931,9 +931,7 @@ if (helpers_1.selectionSpansCells(sel === null || sel === void 0 ? void 0 : sel.bounds)) { | ||
}); | ||
/* Set internal property */ | ||
if (draggedSelectionIndex.current === selections.length - 1) { | ||
selectionEnd.current = { | ||
rowIndex: sel.bounds.bottom, | ||
columnIndex: sel.bounds.right, | ||
}; | ||
} | ||
/* Update selection end */ | ||
selectionEnd.current = { | ||
rowIndex: sel.bounds.bottom, | ||
columnIndex: sel.bounds.right, | ||
}; | ||
} | ||
@@ -940,0 +938,0 @@ } |
{ | ||
"name": "@rowsncolumns/grid", | ||
"description": "Declarative React Canvas Grid primitive for Data table, Pivot table, Excel Worksheets", | ||
"version": "6.2.16", | ||
"version": "6.2.17", | ||
"main": "dist/index.js", | ||
@@ -46,3 +46,3 @@ "license": "MIT", | ||
}, | ||
"gitHead": "12905e7ee061f567ffa1045f1289f4143fe8ab18" | ||
"gitHead": "15e4ceefecc87acc19048355addbb1a5c5976749" | ||
} |
@@ -1365,3 +1365,3 @@ import React, { | ||
setActiveCell(coords); | ||
/* Set internal property */ | ||
/* Update selection start */ | ||
selectionStart.current = coords; | ||
@@ -1379,9 +1379,7 @@ | ||
/* Set internal property */ | ||
if (draggedSelectionIndex.current === selections.length - 1) { | ||
selectionEnd.current = { | ||
rowIndex: sel.bounds.bottom, | ||
columnIndex: sel.bounds.right, | ||
}; | ||
} | ||
/* Update selection end */ | ||
selectionEnd.current = { | ||
rowIndex: sel.bounds.bottom, | ||
columnIndex: sel.bounds.right, | ||
}; | ||
} | ||
@@ -1388,0 +1386,0 @@ } |
Sorry, the diff of this file is not supported yet
726143
16088