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
Popover: wrong position while scrolling inner element instead of <body> #14830
Comments
modify .ant-popover{ |
Use <Select getPopupContainer={trigger => trigger.parentElement}> to render a component inside the scroll area. If you need to config this globally in your application, try <ConfigProvider getPopupContainer={trigger => trigger.parentElement}> And make sure that parentElement is position: relative or position: absolute. Reference: |
|
amazing |
Reproduction link
Steps to reproduce
What is expected?
the popover should be around it's child element while scrolling
What is actually happening?
the popover isn't around it's child element
The text was updated successfully, but these errors were encountered: