You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 :)
The text was updated successfully, but these errors were encountered:
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 ".
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 :)
The text was updated successfully, but these errors were encountered: