webscopeio / react-textarea-autocomplete

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

Cancel loading when we are already in other word context #38

Closed jukben closed 6 years ago

jukben commented 6 years ago

Discussion: https://github.com/webscopeio/react-textarea-autocomplete/issues/33

Not so important, maybe not worth fixing. But anyway, if it takes long before the promise gets resolved, because the sever is slow — then, when I continue typing, the "Loading..." box doesn't go away, although I've typed "@username and more other stuff afterwards" already. — But in reality, the server will "always" be fast & this won't happen :- )