Closed teilzeitgeist closed 5 years ago
Hey!
Yep. Sorry about that, another bug. We should look for any white character not just for " ".
Reference: https://github.com/webscopeio/react-textarea-autocomplete/blob/master/src/Textarea.jsx#L764
/\s/.test(...)
should be enough
Do you want to send a PR? 🙏
Sorry for the delay ... I've created a PR with your above mentioned solution and it works like a charm 👍
Awesome! Released as 4.3.5! 🚀 Thanks!
Hey! Is it possible to trigger the autocomplete also on a new line when afterWhitespace is set to true?
Steps to reproduce:
https://codesandbox.io/embed/2v6q1rqry0