tbleckert / react-select-search

⚡️ Lightweight select component for React
https://react-select-search.com
MIT License
676 stars 147 forks source link

get wrong search options #101

Closed scienfier closed 3 years ago

scienfier commented 4 years ago

https://react-select-search.com/?path=/story/multiple-select--with-placeholder

When input "hame";I got the below results.

image

I guess it is the fuzzySearch function's problem?

scienfier commented 4 years ago

I see. Set the fuse to false,then it matches exactly. But there is one word delay in the search.

if I input hame,the hamburger reesult will still be there.

tbleckert commented 3 years ago

v3 includes custom filter support, so you can now easily use your own fuzzy search implementation or library if the default is too fuzzy