reactjs / react-autocomplete

WAI-ARIA compliant React autocomplete (combobox) component
MIT License
2.17k stars 532 forks source link

Strange work isHighlighted #288

Closed AlexandrAnash closed 6 years ago

AlexandrAnash commented 6 years ago

https://reactcommunity.org/react-autocomplete/custom-menu/

when I type 'a' I see highlighted https://cloud.mail.ru/public/2Pts/PUP1mFxSn

But I type 'b' I don't see highlighted https://cloud.mail.ru/public/Ke7j/ciYvvcQN1

Really wanted to manage when to highlight the first item, and when not This is possible?

Slogo commented 6 years ago

I think this is the issue described by https://github.com/reactjs/react-autocomplete/issues/239

CMTegner commented 6 years ago

We don't currently offer a way to directly manipulate which item gets highlighted. We plan on reworking this logic for v2.