react-autocomplete icon indicating copy to clipboard operation
react-autocomplete copied to clipboard

[added] `selectOnTab` prop

Open stern-shawn opened this issue 7 years ago • 0 comments

Basically a 1:1 port of the existing PR #186 but based on the more recent ES6-ish codebase, with the selectOnTab prop optional and defaulted to false, and without the extra selectionMethod argument to the onSelect method. Big props to @Daniel15 for having already tackled this problem.

I would love to use the vanilla react-autocomplete but the existing selectOnBlur behavior is just not acceptable for my deliverables. Selecting explicitly on Click/Enter/Tab is more expected by my users than any blur event.

stern-shawn avatar Apr 01 '18 22:04 stern-shawn