webscopeio / react-textarea-autocomplete

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

Correct trigger fires only once #145

Closed jukben closed 5 years ago

jukben commented 5 years ago

I think I have a similar problem:

I wanna use it in a project but there is an requirement named "Group mentions", which means besides the known "@user" autocomplete there is also an "@@group" feature.

So I have two triggers: "@" and "@@". My problem is that since "@" is triggered, the trigger of "@@" only fires once and than after another char never again.

Here you can finde the example code: https://codesandbox.io/embed/8x9qww899l

Originally posted by @Psyphant in https://github.com/webscopeio/react-textarea-autocomplete/issues/62#issuecomment-480375177

jukben commented 5 years ago

Has been fixed in 4.3.4 (https://codesandbox.io/embed/9ljo56oz3w) 🚀

OlegVach commented 5 years ago

Hello guys. I have same problem but symbols is "{{". I'm using 4.5.0 version.

jukben commented 5 years ago

Hey @OlegVach could you please create a new issue with repro? 🙏 I'd very appreciate it!

Have you tried to downgrade to 4.3.4 just to test if it's not regression?

OlegVach commented 5 years ago

@jukben It doesn't work with version 4.3.4. I will create new issue.