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表格 最小宽度问题 #40

Closed
zqy159 opened this issue Dec 23, 2021 · 4 comments
Closed

table表格 最小宽度问题 #40

zqy159 opened this issue Dec 23, 2021 · 4 comments
Assignees

Comments

@zqy159
Copy link

zqy159 commented Dec 23, 2021

1.table表格设置了最小宽度时,挤压到最小会按照最小宽度平均值设置
例如 :1.有2列设置了minWidth 分别为100 和 200 挤压到最小,这两列默认的最小宽度都会置为(100+200)/2 .
2.有2列,1列设置了minWidth为100,另外一列自适应,这两列默认的最小宽度都会置为(100+0)/2 .

2.table表格是不是必须要设置一个固定列,才能去进行滚动,感觉蛮奇怪的。

@zqy159 zqy159 changed the title table表格 table表格 最小宽度问题 Dec 23, 2021
@PengYYYYY
Copy link
Collaborator

已收到问题,正在处理

@chaishi
Copy link
Collaborator

chaishi commented Dec 24, 2021

期望是:只要超出就会滚动

@LeeJim
Copy link
Collaborator

LeeJim commented Dec 29, 2021

想要达成最小宽度的效果,使用 width 才对,用 minWidth 反而是错的。
后续估计会移除掉这个 minWidth 。

另外,这个滚动估计和 minWidth 的实现有关,建议将 minWidth 都改成 width 之后看看?

@PengYYYYY
Copy link
Collaborator

已和用户沟通并提供处理方案,issue关闭

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

4 participants