We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
2.67.1
const TableComp = () => { return <Table><Table.Column /><Table.Column width={70} /><Table.Column width={60} /></Table> } const A = withField(TableComp) reurn <A/>
在部分情况下,用户反馈会有这样的情况
tableBody的宽度一直在增加,没看源码不确定什么原因,大概推测
现在临时的办法就是,给field的semi-form-field-main设置overflow,因为field本身是flex,semi-form-field-main默认设置的是width:100%会被子元素撑开;设置overflow使其不让子元素撑开,这样子元素的宽度就被限制了,column的宽度也不会超出 但这样解决很不好
所以还有其他解决办法吗?
我们不给第一个column设置宽度是因为,第一个是标题,希望是占据剩余所有空间,因为表格宽度随屏幕宽度会有变化,不能固定
No response
- OS: - browser:
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Is there an existing issue for this?
Which Component
Table
Semi Version
2.67.1
Current Behavior
在部分情况下,用户反馈会有这样的情况
134_1729076162.mp4
tableBody的宽度一直在增加,没看源码不确定什么原因,大概推测
现在临时的办法就是,给field的semi-form-field-main设置overflow,因为field本身是flex,semi-form-field-main默认设置的是width:100%会被子元素撑开;设置overflow使其不让子元素撑开,这样子元素的宽度就被限制了,column的宽度也不会超出
但这样解决很不好
所以还有其他解决办法吗?
我们不给第一个column设置宽度是因为,第一个是标题,希望是占据剩余所有空间,因为表格宽度随屏幕宽度会有变化,不能固定
Expected Behavior
No response
Steps To Reproduce
No response
ReproducibleCode
No response
Environment
Anything else?
No response
The text was updated successfully, but these errors were encountered: