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

列表组件,在固定表头情况下(使用sticky),无法做到列头筛选固定到表头,列头筛选会随滚动条滚动。如果使用getPopupContainer属性,又无法完整显示筛选条件,因为表头区域有overflow: hidden #33608

Closed
1 task
YANGZHIQIANG1211 opened this issue Jan 7, 2022 · 1 comment

Comments

@YANGZHIQIANG1211
Copy link

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

Reproduction link

Edit on CodeSandbox

Steps to reproduce

只有sticky属性,点击列头筛选后,滚动条滚动后,列头筛选页面会跟随滚动;使用sticky、getPopupContainer两个属性(将注释内容打开),点击列头筛选显示筛选页面,筛选条件显示不全

What is expected?

在固定表头情况下(使用sticky),可以做到列头筛选固定在表头,不随滚动条滚动;或者使用getPopupContainer属性时,能够显示完整的筛选条件

What is actually happening?

在固定表头情况下(无法设置纵向滚动条,需要处理的内容太多无法适用大部分场景,所以使用sticky),列头筛选会随滚动条一起滚动;使用getPopupContainer属性后,不会随滚动条滚动,但显示不全筛选条件

Environment Info
antd 4.18.2
React 17.0.0
System windows10
Browser chrome
@afc163
Copy link
Member

afc163 commented Jan 7, 2022

Duplicate of #29366

@afc163 afc163 marked this as a duplicate of #29366 Jan 7, 2022
@afc163 afc163 closed this as completed Jan 7, 2022
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

No branches or pull requests

2 participants