Skip to content
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

有个小bug #1

Open
ITzhangyan opened this issue Apr 23, 2018 · 2 comments
Open

有个小bug #1

ITzhangyan opened this issue Apr 23, 2018 · 2 comments

Comments

@ITzhangyan
Copy link

添加多个后,如果光标在某一个@前面,不能删除整个,如果光标在最后,是可以的,两个名称之间有个空格,微信是如果光标在空格前面,是一个字母一个字母的删除,如果光标在空格后面,是整个删除。
如:@user1 @user2 中间是一个空格

@ddssingsong
Copy link
Owner

修改下测试用例就行了,考虑到删除最后一个块的时候会出现删除两个的情况,所以在onTextChangeed方法中多加了一个判断末尾的方法,测试用例都一样的话就会出现你说的这种情况

@ITzhangyan
Copy link
Author

@ddssingsong 请问怎么修改呢?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants