gantt-task-react-powern 0.6.11 → 0.6.12

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.
@@ -3108,11 +3108,9 @@ var Gantt = function Gantt(_ref) {
3108
3108
  setFailedTask = _useState9[1];
3109
3109
 
3110
3110
  var svgWidth = columnWidth < 55 ? (dateSetup.dates.length + 0.5) * columnWidth : dateSetup.dates.length * columnWidth;
3111
- var displayedTasks = useMemo(function () {
3112
- var filtered = onExpanderClick ? removeHiddenTasks(tasks) : tasks;
3113
- return filtered.sort(sortTasks);
3114
- }, [tasks, onExpanderClick]);
3115
- var ganttFullHeight = displayedTasks.length * rowHeight;
3111
+ var ganttFullHeight = useMemo(function () {
3112
+ return barTasks.length * rowHeight;
3113
+ }, [barTasks.length, rowHeight]);
3116
3114
 
3117
3115
  var _useState10 = useState(0),
3118
3116
  scrollY = _useState10[0],
@@ -3278,8 +3276,6 @@ var Gantt = function Gantt(_ref) {
3278
3276
  useEffect(function () {
3279
3277
  var _wrapperRef$current, _wrapperRef$current2, _wrapperRef$current3, _wrapperRef$current4;
3280
3278
 
3281
- if (isProcessing) return;
3282
-
3283
3279
  var handleWheel = function handleWheel(event) {
3284
3280
  if (event.shiftKey || event.deltaX) {
3285
3281
  var scrollMove = event.deltaX ? event.deltaX : event.deltaY;
@@ -3372,7 +3368,7 @@ var Gantt = function Gantt(_ref) {
3372
3368
  (_wrapperRef$current7 = wrapperRef.current) === null || _wrapperRef$current7 === void 0 ? void 0 : _wrapperRef$current7.removeEventListener("touchend", handleLogTouch);
3373
3369
  (_wrapperRef$current8 = wrapperRef.current) === null || _wrapperRef$current8 === void 0 ? void 0 : _wrapperRef$current8.removeEventListener("touchend", handleLogTouch);
3374
3370
  };
3375
- }, [wrapperRef, scrollY, scrollX, ganttHeight, svgWidth, rtl, ganttFullHeight, isProcessing]);
3371
+ }, [wrapperRef, scrollY, scrollX, ganttHeight, svgWidth, rtl, ganttFullHeight]);
3376
3372
 
3377
3373
  var handleScrollY = function handleScrollY(event) {
3378
3374
  if (scrollY !== event.currentTarget.scrollTop && !ignoreScrollEvent) {