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
Tooltip does not follow the position of fixed elements on scroll #25117
Comments
Hey @afc163
|
@yaronya , Hey you can add |
I tried getPopupContainer workaround, but i couldn't change the placement (i.e. even if i specify placement=top, it behaves like placement=bottom). But it does fix the popup moving along the scroll issue. |
you can add a relative position to the .ant-tooltip-inner and move it with the left right top bottom props wherever you want to it be :) |
Reproduction link
https://codepen.io/micnic/pen/XWXpaGv
Steps to reproduce
What is expected?
It is expected that the tooltip does not move while scrolling because the element has the css position fixed.
What is actually happening?
While scrolling the tooltip follows the scroll position and is not displayed near the element that triggered the tooltip.
The text was updated successfully, but these errors were encountered: