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

[Component] [table] 多级表头合并和列fixed共存时表头fixed失效 #10300

Closed
xiaoguorong opened this issue Oct 28, 2022 · 4 comments
Closed

Comments

@xiaoguorong
Copy link

Bug Type: Component

Environment

  • Vue Version: 3.2.41
  • Element Plus Version: 2.2.19
  • Browser / OS: chrome
  • Build Tool: Vite

Reproduction

Related Component

  • el-table

Reproduction Link

Element Plus Playground

Steps to reproduce

const handerMethod = ({ row, column, rowIndex, columnIndex}) => { if(row[0].level == 1) { row[1].colSpan = 2; row[2].colSpan = 0; if(columnIndex == 2) { return { display: "none"} } } return { textAlign: "center"} }

What is Expected?

表头合并成功,表头固定,列固定

What is actually happening?

表头合并成功,表头不固定,列固定

Additional comments

(empty)

@Tsong-LC
Copy link
Contributor

Tsong-LC commented Nov 1, 2022

Maybe fixed in #10096.

@xiaoguorong
Copy link
Author

同样的element版本,同样的vue版本,为什么我的demo就不可以,直接复制你的demo到我的demo里面也不可以

@tolking
Copy link
Member

tolking commented Nov 23, 2022

Looks like it is fixed, you need to upgrade to version ^2.2.20

@tolking tolking closed this as completed Nov 23, 2022
@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.

此 issue 已被自动锁定,因为关闭后没有任何近期活动。如果有相关 bug,请重新创建一个新 issue。

@github-actions github-actions bot locked and limited conversation to collaborators Dec 23, 2022
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

3 participants