bevacqua / horsey

:horse: Progressive and customizable autocomplete component
https://bevacqua.github.io/horsey
MIT License
1.17k stars 98 forks source link

Character highlight broken by case-mismatches #53

Open dela3499 opened 7 years ago

dela3499 commented 7 years ago

The potential completions are case-insensitive, but a case mismatch between the input and the potential matches breaks things.

Example: input: "he" potential matches: "hello" <- "he" is highlighted "Heck!" <- nothing is highlighted, the initial case mismatch between the "h" and "H" breaks character highlighting.

blq commented 5 years ago

Same issue reported here: https://github.com/bevacqua/horsey/issues/63 A PR is pending https://github.com/bevacqua/horsey/pull/44