gantt-task-react-v 1.5.24 → 1.5.26
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.
|
@@ -10224,7 +10224,7 @@ const TaskListTableRowInner = forwardRef(
|
|
|
10224
10224
|
if (task.type !== "empty") {
|
|
10225
10225
|
scrollToTask(task);
|
|
10226
10226
|
}
|
|
10227
|
-
if (event.detail >= 2
|
|
10227
|
+
if (event.detail >= 2) {
|
|
10228
10228
|
return;
|
|
10229
10229
|
}
|
|
10230
10230
|
selectTaskOnMouseDown(task.id, event);
|
|
@@ -13150,6 +13150,9 @@ const TaskItemInner = (props) => {
|
|
|
13150
13150
|
const onMouseDown = useCallback(
|
|
13151
13151
|
(event) => {
|
|
13152
13152
|
event.stopPropagation();
|
|
13153
|
+
if (event.detail >= 2) {
|
|
13154
|
+
return;
|
|
13155
|
+
}
|
|
13153
13156
|
onSelectTaskOnMouseDown(task.id, event);
|
|
13154
13157
|
},
|
|
13155
13158
|
[onSelectTaskOnMouseDown, task]
|
|
@@ -10241,7 +10241,7 @@
|
|
|
10241
10241
|
if (task.type !== "empty") {
|
|
10242
10242
|
scrollToTask(task);
|
|
10243
10243
|
}
|
|
10244
|
-
if (event.detail >= 2
|
|
10244
|
+
if (event.detail >= 2) {
|
|
10245
10245
|
return;
|
|
10246
10246
|
}
|
|
10247
10247
|
selectTaskOnMouseDown(task.id, event);
|
|
@@ -13167,6 +13167,9 @@
|
|
|
13167
13167
|
const onMouseDown = React.useCallback(
|
|
13168
13168
|
(event) => {
|
|
13169
13169
|
event.stopPropagation();
|
|
13170
|
+
if (event.detail >= 2) {
|
|
13171
|
+
return;
|
|
13172
|
+
}
|
|
13170
13173
|
onSelectTaskOnMouseDown(task.id, event);
|
|
13171
13174
|
},
|
|
13172
13175
|
[onSelectTaskOnMouseDown, task]
|
package/package.json
CHANGED