gantt-lib 0.135.4 → 0.135.5
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 +1 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -15667,6 +15667,7 @@ function TaskGanttChartInner(props, ref) {
|
|
|
15667
15667
|
onTasksChange: handleTaskChange,
|
|
15668
15668
|
onDragStateChange: (state) => {
|
|
15669
15669
|
if (state.isDragging) {
|
|
15670
|
+
if (normalizedTasks.length >= 1e3) return;
|
|
15670
15671
|
setDragGuideLines((current) => current && current.isDragging === state.isDragging && current.dragMode === state.dragMode && current.left === state.left && current.width === state.width ? current : state);
|
|
15671
15672
|
setDraggedTaskOverride((current) => current && current.taskId === task.id && current.left === state.left && current.width === state.width ? current : { taskId: task.id, left: state.left, width: state.width });
|
|
15672
15673
|
} else {
|