-
Couldn't load subscription status.
- Fork 4.2k
focusDefaultOption prop #3705
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
focusDefaultOption prop #3705
Conversation
|
Until this is merged, is there some work-around to achieve the same behavior? Like not focusing a menu item at all when the menu is opened due to a text match (except when an arrow-down is pressed). |
|
Not that I have found @dko-slapdash |
|
@frazboyz thanks for this pr. please anyone merge when possible |
|
Thanks for this @frazboyz, I'd be happy to merge this but could you please add an example demonstrating usage that we can use to test and demo how it works? (the "advanced" page probably the right place to do this) |
💥 No ChangesetLatest commit: 1b6c972 Merging this PR will not cause any packages to be released. If these changes should not cause updates to packages in this repo, this is fine 🙂 If these changes should be published to npm, you need to add a changeset. Click here to learn what changesets are, and how to add one. |
…-select into disable-auto-option-focus
|
All yours @JedWatson Example added to the advanced section. |
|
@JedWatson can we please merge? |
|
Is the version containing this fix already released? |
|
@mitchellhamilton Any chance you can take a final look? |
|
Please submit, this is a helpful compromise for another use case. If Having |
|
@flexdinesh pinging you because I saw the pinned issue. You can see from the linked issue and pr, this has been requested multiple times and it is a longin waiting bug fix. |
|
Thanks for your contribution @Francismb! This PR has now been brought up to date and tweaked so it can be merged - see PR #4080 for more details. Closing this PR in favor of #4080. |
|
Anybody found a workaround at least? |

focusDefaultOption prop
This prop enables or disables the automatically applied focus to the first or last option in the drop down menu of options.
The use case I found is that if you want a free text search select input but to also have auto completing options, much like a google search box.
#2848
#3324
#3484