VTable icon indicating copy to clipboard operation
VTable copied to clipboard

[Bug] 甘特图拖拽超出边界报错

Open wuzaofeng opened this issue 2 months ago • 3 comments

Version

1.21.1

Link to Minimal Reproduction

https://codesandbox.io/p/sandbox/vtable-list-table-forked-llmg6k?file=%2Fsrc%2Findex.js%3A47%2C9

Steps to Reproduce

Image 任务,直接拖拽到标题外部就报错

Current Behavior

直接报错估计是没有 Image

Expected Behavior

  1. 如果是任务超出,向上挪到标题,那么应该是默认挪到是第一行
  2. 其他应该是恢复原先效果

Environment

- Browser:谷歌浏览器

Any additional comments?

No response

wuzaofeng avatar Oct 16 '25 04:10 wuzaofeng

感谢你的反馈! 如果有开发者对这个 issue 感兴趣,请在issue下方留言“认领该issue”,留言后开始你的创作提pr给我们! 欢迎大家参与开源共建!我们非常感激每一位贡献者,提交pr后我们将为参与共建的开发者准备一份礼品。 参与共建可参考:https://visactor.io/vtable/guide/Contribution_Guide 与官方开发者交流问题可以下载飞书app扫码加入飞书群: 飞书20241029-170312 再次感谢你的支持!

Thank you for your feedback! We have received your question and will deal with it later. If any developer is interested in this issue, please leave a message "claim this issue" below the issue. Welcome to participate in open source co-construction! We are very grateful to every contributor. After submitting the PR, we will prepare a gift for the developers who participated in the co-construction. For participation in co-construction, please refer to: https://visactor.io/vtable/guide/Contribution_Guide To communicate with official developers, you can download the Feishu app and scan the QR code to join the Feishu group! Thank you again for your support!

fangsmile avatar Oct 20 '25 03:10 fangsmile

@wuzaofeng 跟下代码 找到报错地方 估计做个可选链的判断就能解决报错问题。可以提pr给我们

fangsmile avatar Oct 21 '25 01:10 fangsmile

@fangsmile 提上去了,加判断 https://github.com/VisActor/VTable/pull/4672

wuzaofeng avatar Nov 05 '25 04:11 wuzaofeng