-
Notifications
You must be signed in to change notification settings - Fork 62
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
HideMentions() not called when pasting text. #84
Comments
@Footjy I'm not sure I follow, if you were to paste or enter text after an |
@szweier Sorry for the late reply too I was away for a while. I will explain more precisely the problem I see because reading myself again I admit it's not clear at all:
I hope you see the problem. I can reproduce these steps using your example app so I guess I'm using the lib correctly. Let me know if I can be of any help. |
Hey thank you for the lib,
When you type in
@
the showMentionsList() method is called, so the list of possible mentions is displayed. But when pasting (or adding an emoji) there is no call to hideMentions() so the list remains.I suggest calling
hideMentions()
infunc textView(_ textView: UITextView, shouldChangeTextIn range: NSRange, replacementText text: String)
.Thanks,
The text was updated successfully, but these errors were encountered: