-
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
focused option starting at the selected option #3656
Comments
solved bb9c1d7 |
Hello, I still see this error happening in 3.0.4. Any idea when this is going to be merged? Thanks for the good work! |
Hey @csantos1113 I am getting same error on v2.4,4, are you sure this occurs only for v3.0.0 and above ? Any fix for this ? I am overriding Option component as below:
Am I missing something that should be added in v2.4.4, or is it that now this feature does not work for this version as well ? |
Hello, Any update on this? I still see this happening in 3.0.8. Thanks! |
yes, still happening in 3.0.8. Will you update this? |
Go update, please! :) |
This issue is still prevailing. Any solutions till now? |
this it the PR related to this issue, It seems it's taking more than a year to be resolved. I think that would be better to move on another library: |
Yes, let's close this. I forked my own example and updated to latest react-select version Thanks |
If anyone is still running into this in 5.1.0, its because the object being passed into value isn't the same value from the options list. @alexmnv pointed this out here: See this sandbox, forked from the one above This didn't work for my use case sadly, but hoping it helps others in the future. |
Seems that on v3.0.0 there was a change introduced in the way the focused option is determined.
✅ Here is an example of how it worked on v2.4.4: https://codesandbox.io/s/react-codesandboxer-example-sywkk
Which is the same as the behavior of the native select inputs:
❌ Here is the same exact example running on v3.0.4: https://codesandbox.io/s/react-codesandboxer-example-3cutx
Not sure if this is an issue, or if it was a change intentional made.
But, how can I get the focused option starting at the selected option?
The text was updated successfully, but these errors were encountered: