vueComponent / ant-design-vue

🌈 An enterprise-class UI components based on Ant Design and Vue. 🐜
https://antdv.com/
Other
20.2k stars 3.79k forks source link

表格头部 开启 fixed: "left", 再开启 ellipsis: true, 没有自动省略,而是自动撑开 #2916

Closed crossui closed 3 years ago

crossui commented 4 years ago

Version

1.6.5

Environment

chrome 版本49

Reproduction link

https://www.antdv.com/components/table-cn/

Steps to reproduce

{ title: item.title, fixed: item.fixed, dataIndex: item.key, key: item.key, align: item.align, width: item.width == "" ? 100 : parseInt(item.width), sorter: item.sortable, ellipsis: true, className: item.className }

What is expected?

期望 fixed: "left" ,ellipsis: true同时开启时能够自动省略

What is actually happening?

表格每列给定宽度 width,第一列给了 fixed: "left" ,所有的列开启了ellipsis: true, 第一列没有自动省略 其它列正常 ;第一列浮动的 会自动撑开 超出设定的宽度

github-actions[bot] commented 2 years ago

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.