gantt-task-react-powern 0.6.9 → 0.6.10
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 +4 -2
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +4 -2
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.modern.js
CHANGED
|
@@ -3280,6 +3280,8 @@ var Gantt = function Gantt(_ref) {
|
|
|
3280
3280
|
useEffect(function () {
|
|
3281
3281
|
var _wrapperRef$current, _wrapperRef$current2, _wrapperRef$current3, _wrapperRef$current4;
|
|
3282
3282
|
|
|
3283
|
+
if (isProcessing) return;
|
|
3284
|
+
|
|
3283
3285
|
var handleWheel = function handleWheel(event) {
|
|
3284
3286
|
if (event.shiftKey || event.deltaX) {
|
|
3285
3287
|
var scrollMove = event.deltaX ? event.deltaX : event.deltaY;
|
|
@@ -3372,7 +3374,7 @@ var Gantt = function Gantt(_ref) {
|
|
|
3372
3374
|
(_wrapperRef$current7 = wrapperRef.current) === null || _wrapperRef$current7 === void 0 ? void 0 : _wrapperRef$current7.removeEventListener("touchend", handleLogTouch);
|
|
3373
3375
|
(_wrapperRef$current8 = wrapperRef.current) === null || _wrapperRef$current8 === void 0 ? void 0 : _wrapperRef$current8.removeEventListener("touchend", handleLogTouch);
|
|
3374
3376
|
};
|
|
3375
|
-
}, [wrapperRef, scrollY, scrollX, ganttHeight, svgWidth, rtl, ganttFullHeight]);
|
|
3377
|
+
}, [wrapperRef, scrollY, scrollX, ganttHeight, svgWidth, rtl, ganttFullHeight, isProcessing]);
|
|
3376
3378
|
|
|
3377
3379
|
var handleScrollY = function handleScrollY(event) {
|
|
3378
3380
|
if (scrollY !== event.currentTarget.scrollTop && !ignoreScrollEvent) {
|
|
@@ -3550,7 +3552,7 @@ var Gantt = function Gantt(_ref) {
|
|
|
3550
3552
|
className: styles$9.wrapper,
|
|
3551
3553
|
style: {
|
|
3552
3554
|
position: "relative",
|
|
3553
|
-
minHeight:
|
|
3555
|
+
minHeight: ganttHeight || 200
|
|
3554
3556
|
}
|
|
3555
3557
|
}, React.createElement("div", {
|
|
3556
3558
|
style: {
|