Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Table] 拖拽排序加展开功能结合时会导致拖拽后排序异常,而且展开的列无法跟随拖动 #3113

Open
2ue opened this issue Sep 24, 2024 · 1 comment

Comments

@2ue
Copy link

2ue commented Sep 24, 2024

tdesign-react 版本

1.9.0

重现链接

https://stackblitz.com/edit/react-9lffvn-m31wdb?file=src%2Fdemo.jsx,src%2Findex.css

重现步骤

没有特别的操作,重复拖拽几次后会出现以下情况:
1、展开元素不会跟随被拖动
2、拖拽释放后位置没有被拖动(比如最后一条拖到第一条)
3、重复拖拽几次后数据会增多
4、拖拽事件返回的newData中包含了为null的row数据,导致页面报错
image

image

2024-09-24.143441_compressed.mp4

期望结果

能正常拖拽

实际结果

没有正常拖拽,并且页面会报错,导致整个页面error

框架版本

18.2.0

浏览器版本

No response

系统版本

No response

Node版本

No response

补充说明

No response

Copy link
Contributor

👋 @2ue,感谢给 TDesign 提出了 issue。
请根据 issue 模版确保背景信息的完善,我们将调查并尽快回复你。

@2ue 2ue changed the title [Table] 排序加展开功能结合时会导致拖拽后排序异常,而且展开的列无法跟随拖动 [Table] 拖拽排序加展开功能结合时会导致拖拽后排序异常,而且展开的列无法跟随拖动 Sep 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant