webscopeio / react-textarea-autocomplete

📝 React component implements configurable GitHub's like textarea autocomplete.
MIT License
454 stars 80 forks source link

Make suggestion list trigger after correcting typo when allowWhitespace is active #205

Open andersHj opened 4 years ago

andersHj commented 4 years ago

Hi, when using the allowWhitespace option and typing something with several words, it would be nice to make the suggestion list reappear in the case where you make a typo, and then hit backspace to fix your error. The way it is now I have to go all the way back to the first word to get it to reappear.

Example: text-area-autocomplete

https://codesandbox.io/s/reacttextareaautocomplete-forked-489dh?file=/src/index.js