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

Select Options detach from Select on scroll #34892

Closed
adilosa opened this issue Apr 6, 2022 · 2 comments
Closed

Select Options detach from Select on scroll #34892

adilosa opened this issue Apr 6, 2022 · 2 comments

Comments

@adilosa
Copy link

adilosa commented Apr 6, 2022

Reproduction link

Edit on CodeSandbox

Steps to reproduce

Place a Select inside of an Affix. Click on the Select to show the Select Options. On scroll, the list of options detaches from the Select and scrolls with the whole page.

What is expected?

The Options list should stay attached to the Select

What is actually happening?

the Options list detaches from the Select and scrolls with the page

Environment Info
antd 4.19.5
React 18.1.0
System macOS
Browser Firefox

I believe this bug can happen in other circumstances as well, but using Affix is how I found it and is the way I can reproduce.

Other instances of this bug:
#34152
#28985

@afc163
Copy link
Member

afc163 commented Apr 7, 2022

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

No branches or pull requests

2 participants