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

Table:修改 table-body, table-header, 在slot-scope中提供fixed属性 #21281

Closed
wants to merge 2 commits into from

Conversation

NoahSun
Copy link

@NoahSun NoahSun commented Aug 31, 2021

在有fixed列的table中,使用了含有popover的自定义头,展示popover时会展示两个,并且会错位,所以想使用fixed属性来判断是否渲染popover

el-table使用了fixed的列并且自定义表头用了el-popover,el-popover会显示两次,看了源码是复用了table-header组件可以理解,但是显示会错位。能否暴露一下table-header中的fixed属性给slot-scope以便判断显示逻辑
@element-bot
Copy link
Member

✔️ Deploy Preview for element ready!

🔨 Explore the source changes: 0da6e23

🔍 Inspect the deploy log: https://app.netlify.com/sites/element/deploys/612df1fd054328000859a7d8

😎 Browse the preview: https://deploy-preview-21281--element.netlify.app/

@NoahSun NoahSun changed the title 修改 table-body, table-header, 在slot-scope中提供fixed属性 Table:修改 table-body, table-header, 在slot-scope中提供fixed属性 Aug 31, 2021
@NoahSun NoahSun closed this Aug 31, 2021
@NoahSun NoahSun reopened this Aug 31, 2021
@NoahSun NoahSun closed this Aug 10, 2023
@NoahSun NoahSun deleted the dev branch August 10, 2023 02:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants