根据您的描述,当scroll.x设置为"max-content"且sticky为true时,表格的最右固定列会出现错位。这个问题可能是由于表格布局在特定情况下没有正确处理固定列和滚动宽度的组合。 您可以尝试以下几种解决方案: 设置所有列的宽度:确保所有列都设置了宽度,而不仅仅是一个非固定列。 调整表格布局:尝试调整表格的布局方式,看...
An enterprise-class UI design language and React UI library - Table组件,设置了sticky和 summary属性, scroll: { x: 'max-content' }不生效 · ant-design/ant-design@706c000
使用chrome浏览器,默认显示横向滚动条,查看样式后发现生成 overflow-x: scroll; 期望样式生成 overflow-x: auto;ant-design-bot assigned chenshuai2144 Oct 27, 2019 Member afc163 commented Oct 27, 2019 这是合理的,overflow-x: auto 会产生很多宽度对齐问题。不需要滚动条就关闭 x 就好。 afc163 closed ...
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 ...
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"...
Currently table headers styles are messed up andwidthvalue is not being applied per column EnvironmentInfo antd4.20.1 React17.0.2 SystemWindows 10 pro BrowserChrome 100 <TabletableLayout="fixed"scroll={{x:'max-content',y:`300px`,}}columns={columns}dataSource={[]}// the table looks ok wit...
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 ...