webscopeio / react-textarea-autocomplete

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

fix(autocomplete): let's close the autocomple once selection is made #121

Closed jukben closed 5 years ago

jukben commented 5 years ago

close #120

jukben commented 5 years ago

(bot)

Hey! Thank you so much for your PR! I can see that everything is green 👏.

Here is the playground for this revision 🚀

I hope everything is fine! ❤️

jukben commented 5 years ago

Hey @O4epegb It looks I've been able to overcome it 💃

O4epegb commented 5 years ago

Hm, I actually just checked and it seems that the bug is still there!

O4epegb commented 5 years ago

Maybe we should prevent to use left/right arrows when autocomplete is open? Or close it (and clear trigger stack) after caret move?