Skip to content
This repository has been archived by the owner on Jul 19, 2019. It is now read-only.

autoHighlight={true} only highlights the first item - if it matches from its beginning #266

Closed
silicakes opened this issue Aug 7, 2017 · 1 comment · May be fixed by #337
Closed

autoHighlight={true} only highlights the first item - if it matches from its beginning #266

silicakes opened this issue Aug 7, 2017 · 1 comment · May be fixed by #337

Comments

@silicakes
Copy link

silicakes commented Aug 7, 2017

autoHighlight={true} only highlights the first item if it matches from its beginning

Here's an example for when it doesn't work:

  1. user inputs: "foo"
  2. multiple choices for items containing the word "blah blah food" are shown
  3. first item isn't highlighted

It does work for the following:

  1. user inputs "foo"
  2. multiple choices begin with . "food"
  3. first item is highlighted
@silicakes silicakes changed the title [HOWTO]Highlight first item for partial matches Highlight first item for partial matches not from the beginning Aug 7, 2017
@silicakes silicakes changed the title Highlight first item for partial matches not from the beginning autoHighlight={true} only highlights the first item - if it matches from its beginning Aug 7, 2017
@CMTegner
Copy link
Collaborator

CMTegner commented Aug 7, 2017

This is explained in #239.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants