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
Affix demo doesn't work properly #5642
Comments
Yep, it's a known issue #3938 And I don't think we need to fix it or can fix it perfectly. |
For this feature is just for special use case. |
Is it possible to get an explanation about this issue. Most people on github do not speak english. Thank you a lot |
给子元素直接设置position:sticky;也许能解决你的问题 |
Version
2.9.0
Environment
Chrome 56, Firefox 47
Reproduction link
https://ant.design/components/affix/
Steps to reproduce
Firefox does not automatically scroll the entire page when reaching the bottom of the container, but moving the mouse outside of the container and continuing to scroll down produces the same issue.
Additionally, the affixed component does not reposition itself on browser window resize. It will not move itself into the container until the container is visible again.
What is expected?
Affixed component should remain inside the container and scroll with the browser window
What is actually happening?
Affixed component stays affixed to the same position within the browser window
The text was updated successfully, but these errors were encountered: