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

拖动改变列宽时,表格其他列的宽度小于设置的minWidth,而且表格的横向滚动条有时候出现有时候隐藏 #187

Closed
winxiaoli opened this issue Nov 30, 2023 · 10 comments

Comments

@winxiaoli
Copy link

重现步骤:
@surely-vue/table版本:4.2.2
部分列没有列宽且可以拖动改变宽度,最后一列没有列宽只有minWidth,拖动其他列改变列宽时,表格的横向滚动条有时候出现有时候隐藏,且最后一列的宽度会小于最小宽度
现象如下图
飞书20231130-085907
设置的最小列宽
20231130-085854
实际列宽
20231130-085900

@tangjinzhou
Copy link
Contributor

提供个完整的在线示例或代码吧

@winxiaoli
Copy link
Author

代码示例
table-example.zip

@winxiaoli
Copy link
Author

新的代码示例,更容易复现了,之前的表头dataIndex重复了
table-example.zip

@tangjinzhou
Copy link
Contributor

你的压缩包下载下来 .vue 打不开啊,神奇

@tangjinzhou
Copy link
Contributor

你可以直接给个在线的不,直接在下面链接更改后回复我新的链接 https:codesandbox.io/s/surely-vue-demo-forked-k52qpj?file=/src/main.ts

@winxiaoli
Copy link
Author

@winxiaoli
Copy link
Author

在线地址拖动列宽即可复现
20231207110219_rec_

@tangjinzhou
Copy link
Contributor

建议你把 scroll.x 去掉,这个和拖拽组合起来就会出问题

@winxiaoli
Copy link
Author

建议你把 scroll.x 去掉,这个和拖拽组合起来就会出问题

去掉了scroll,还是可以复现问题

@tangjinzhou
Copy link
Contributor

update to 4.2.3

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

2 participants