Closed epegzz closed 6 years ago
See #309
The current implementation only auto-highlights an item if the input matches the beginning of the item label.
That's problematic if your shouldItemRender implementation allows matching anywhere in the item label, not just from the start.
shouldItemRender
This PR fixes that.
The existing logic won't be changed at the moment. See #239 for explanation.
See #309
The current implementation only auto-highlights an item if the input matches the beginning of the item label.
That's problematic if your
shouldItemRender
implementation allows matching anywhere in the item label, not just from the start.This PR fixes that.