-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Make sure the selected option is immediately visible when the menu is open #3535
Comments
The same problem with version 2.4.3 |
i did some investigation and it seems that menuListRef isn't being set. perhaps the issue is that onMenuOpen should be called after menuList has been truly attached to the DOM. maybe this is some race condition issue. maybe we should look at it here:
more bizzare things happen in this codesandbox: https://codesandbox.io/s/x95l82m81q |
it easier to debug with source :) actually found out that |
I solved this problem using handleMenuOpen event and manual scrollIntoView on focused item:
|
thanks for this temporary solution! i'll try to find the solution, just didn't have the time to really dig in :( |
Same issue as #3656 |
Hello - In an effort to sustain the We understand this might be inconvenient but in the best interest of supporting the broader community we have to direct our efforts towards the current major version. If you aren't using the latest version of However, if you feel this issue is still relevant and you'd like us to review it - please leave a comment and we'll do our best to get back to you! |
Hello we were looking for a feature that seems broken :
#724
if not please let me know.
We have a fetch on focus from our backend
And we want the same as pull 724:
"Make sure the selected option is immediately visible when the menu is open"
actually ("react-select": "^2.1.1") the React-Select doesn't scroll to make the curent choice visible
we have :
we want :
The text was updated successfully, but these errors were encountered: