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

autoHighlight seems to be broken in some instances

Open vikas199 opened this issue 7 years ago • 0 comments

The prop autoHighlight by default is true. So in my case, I'm setting it to false as I don't want the first result to be highlighted and disabling enter on my first result. This seems to work well. But when I search for a user in the input box and use my arrow down keys to see the results. If I clear the result and again enter a new value in the search box, the first result seems to be highlighted and again the enter key is enabled.

At all times I want the search for the first result not to be highlighted and enter key should always be disabled though if I use my arrow keys or not

vikas199 avatar Jul 05 '18 16:07 vikas199