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

nz-table use the filter function in the state of using the scrollbar, the filter popup window does not follow the scrolling #8407

Open
chongchongLin opened this issue Feb 18, 2024 · 0 comments
Assignees

Comments

@chongchongLin
Copy link

Reproduction link

https://stackblitz.com/edit/ng-zorro-antd-ivy-epudrf?file=src%2Fapp%2Fapp.component.ts

Steps to reproduce

click filter button then scroll

What is expected?

scrolls along with his parent element instead of separating it

What is actually happening?

scroll with "body" not his parent element ,so cause the phenomenon of "float ".

Environment Info
ng-zorro-antd 17.2.0
Browser Chrome(121.0.6167.184)

The reason for this problem I think is that the parent element is positioned to the body instead of the real parent, and I found that almost all components based on the nz-modal implementation (Select Dropdown DatePicker TimePicker Popover Popconfirm) suffer from this positioning problem, but ant-design provides the getPopupContainer attribute to achieve absolute positioning. design provides the getPopupContainer property for absolute positioning, so maybe you guys can take a look at that :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants