webscopeio / react-textarea-autocomplete

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

It will correctly show popup, but after you select value it will show it again for first trigger #120

Closed jukben closed 5 years ago

jukben commented 5 years ago

Working great, thank you! Switched from v2 to v4 in production today.

Found only one minor bug, not sure if it is worth to fix, but here it is:

1) Type anything -> "something" 2) Trigger autocomplete -> "something @" 3) Then move caret back with arrows and trigger again -> "some@thing @" 4) Select autocomplete value 5) It will correctly show popup, but after you select value it will show it again for first trigger

Very rare edge case I suppose, but if it is not hard to fix would be cool)

Originally posted by @O4epegb in https://github.com/webscopeio/react-textarea-autocomplete/issues/117#issuecomment-453954607

jukben commented 5 years ago

I will take a look on this ASAP.

jukben commented 5 years ago

Deployed as 4.2.1 🚀