-
Notifications
You must be signed in to change notification settings - Fork 82
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Usernames cannot have dots in them #14
Comments
Good idea, You are welcome to send a PR if you have fixed it already. I'll fix this with the next release otherwise :) |
Hey just published a new react-native-mentions package. Check it out. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
react-native-mentions/src/MentionsTextInput.js
Line 77 in b1aac08
This assumes all usernames match that syntax.
We have a username with
@first.lastname
. The result of this code is that the keyword passed to our triggerCallback does not contain anything including and after the dot.Suggest that the regex is exposed as a param and defaults to its current value?
The text was updated successfully, but these errors were encountered: