Steps to reproduce 进入链接codesandbox点击 Add Column What is expected? 当我设置sticky,summary属性后,期望在动态向表格中添加列能够表格自适应,能够滚动内容 What is actually happening? 在动态添加内容时,表格不会自适应,添加的column, Environment
ant-design / ant-design Public Sponsor Notifications Fork 50.3k Star 92.9k New issue Jump to bottom Table组件在同时设置scroll.x为"max-content"和sticky时表头错位 #51034 Open RJiazhen opened this issue Sep 26, 2024· 3 comments Open Table组件在同时设置scroll.x为"max-content"和...
An enterprise-class UI design language and React UI library - Table组件,设置了sticky和 summary属性, scroll: { x: 'max-content' }不生效 · ant-design/ant-design@706c000
An enterprise-class UI design language and React UI library - Table组件在同时设置scroll.x为"max-content"和sticky时表头错位 · ant-design/ant-design@34bc447
这是合理的,overflow-x: auto会产生很多宽度对齐问题。不需要滚动条就关闭 x 就好。 在笔记本上,内容不够显示,这时候出现横向滚动条合理,能接受 但是到21寸显示器,表格内容够显示,默认展示一个无法拖动的横向滚动条,看起来很丑 或者能不能提供个方案,主动设置生产的为overflow-x: auto;...
An enterprise-class UI design language and React UI library - Table组件,设置了sticky和 summary属性, scroll: { x: 'max-content' }不生效 · ant-design/ant-design@ec5e6c4
Since the array reference still equals, the table does not rerender. You would have to copy/create another array to force rerender, which can be costly for 20k rows. Also tried setting ref and wanted to call forceUpdate on it, but it fails with "Function components cannot be given refs"...
table 配置scroll={{ x: "max-content", y: 240 }},只有设置y的值,会导致表头换行,max-content失效 #33721 Closed 1 task YqxLzx commented Oct 9, 2023 • edited I have a not perfect idea , but it can resolve the problem . I simply get DOM by classname and then add min-style ...
vaynevayne changed the title scroll={{ x: 'max-content', y: 500 } 会造成列标题垂直排版 Table scroll max-content 时 , 超长文本不换行的问题, 会造成列标题垂直排版 Jun 5, 2023 vaynevayne mentioned this issue Jun 5, 2023 feat(Table): cell workBreak #42831 Closed 20 tasks zyk2891 ...
Click on the 'plus' icon in the table's first column Observe the squeezed content in the expanded row Comment out the 'scroll={{ x: 'max-content' }}' prop Click again on the plus icon Observe the expanded content being properly displayed ...