xpyjs / gantt

An easy-to-use Gantt component. 持续更新,中文文档

Home Page:https://docs.xiaopangying.com/gantt/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[BUG] 拖动子级时父级不会跟随增长

Lnncoco opened this issue · comments

commented

拖动时,如果节点比较小,会点到左右两端,这时候能移动节点,往点击端点的反方向拖动,可以超过父级长度,并且父级不会增长。
如果此时按正常拖动,父级会正常补长。

初始状态
image

拖动后状态
image

code pls

commented

code pls

xgantt-issue-93

update to v2.1.6