react-autocomplete icon indicating copy to clipboard operation
react-autocomplete copied to clipboard

Menu is opened on focus input

Open razorsky opened this issue 7 years ago • 1 comments

I would like the menu to not be opened on focus input

https://github.com/reactjs/react-autocomplete/blob/41388f7d7760bf6cf38e7946e43d4fddd9c7c176/lib/Autocomplete.js#L535

razorsky avatar May 16 '18 08:05 razorsky

<Autocomplete
    open={(this.state.value.length >= MIN_QUERY_CHARACTERS)}
/>

I needed to change behavior of menu to show once n number of characters is entered. Here's the doc https://github.com/reactjs/react-autocomplete#open-boolean-optional

mlubovac avatar Jul 20 '18 21:07 mlubovac