xpyjs / gantt

An easy-to-use Gantt component. 持续更新,中文文档
https://docs.xiaopangying.com/gantt/
MIT License
251 stars 41 forks source link

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

Closed Lnncoco closed 5 months ago

Lnncoco commented 5 months ago

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

初始状态 image

拖动后状态 image

jeremyjone commented 5 months ago

code pls

Lnncoco commented 5 months ago

code pls

xgantt-issue-93

jeremyjone commented 5 months ago

update to v2.1.6