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
Auto focus disabled with a new prop #3324
Conversation
Somebody know if this PR is going to be merged? |
This functionality would be really cool! Waiting for this as well. |
This is really helpful feature. Please merg |
@@ -487,7 +487,7 @@ export default class Select extends Component<Props, State> { | |||
|
|||
openMenu(focusOption: 'first' | 'last') { | |||
const { menuOptions, selectValue } = this.state; | |||
const { isMulti } = this.props; | |||
const { isMulti, disableAutoFocus } = this.props; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
missed flow type
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Even the documentation is missing but I needed a confirmation if they're willing to merge this new feature.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Merge please.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems there is now a conflict in this merge request
Guys im waiting for this is there something i can help with to speed up actuall merge ? |
This would be great to have! Waiting for this to get merged in... |
Waiting for this.... |
Waiting too... |
Waiting for this. Merge please. |
The naming seems to clash conceptually with the autoFocus prop |
Any chances this could be merged in the near future! 🙏 |
Waiting for this. Merge please. |
Hi, any news about the prop |
I'm also running into this issue. On mobile it is an issue especially because there is no cursor to change the highlighted option. Hoping this merges asap. |
Hey @mnpreetkaur, can you please resolve the conflicts? @JedWatson @gwyneplaine @bvaughn @mitchellhamilton |
@mnpreetkaur @JedWatson @gwyneplaine @bvaughn @mitchellhamilton Would be awesome to get this merged! |
Hey @mnpreetkaur, could you please resolve any conflicts and provide a CodeSandbox of this PR with a working example? I'd like to test and get this merged. |
Hi all, Thanks for your contribution @mnpreetkaur! There are a number of pull requests adding this feature - I've since created an up to date PR - #4080, and closed similar pull requests. If I've missed anything, please let me know. Closing this PR in favor of #4080. |
#2848 #3061
Above issues could be resolved with this enhancement
@gwyneplaine I've added a new prop
disableAutoFocus
, which allows deactivation of auto focus of first or any option on opening of the option menu.