@apia/table 4.0.44 → 5.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +3 -1
- package/dist/index.js.map +1 -1
- package/package.json +7 -7
package/dist/index.js
CHANGED
|
@@ -2906,7 +2906,9 @@ function handleMouseDownEvent(ev) {
|
|
|
2906
2906
|
const min = Math.min(previousFocused, rowIndex);
|
|
2907
2907
|
const max = Math.max(previousFocused, rowIndex);
|
|
2908
2908
|
for (let i = min; i <= max; i++) {
|
|
2909
|
-
state.selectedRows.
|
|
2909
|
+
if (void 0 === state.selectedRows.find((c) => c === i)) {
|
|
2910
|
+
state.selectedRows.push(i);
|
|
2911
|
+
}
|
|
2910
2912
|
}
|
|
2911
2913
|
}
|
|
2912
2914
|
state.focusedColumn = colIndex;
|