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

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

Closed
1 task
crossui opened this issue Sep 27, 2020 · 1 comment
Assignees

Comments

@crossui
Copy link

crossui commented Sep 27, 2020

  • I have searched the issues of this repository and believe that this is not a duplicate.

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
Copy link

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.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 28, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants