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

bugfix(edit-text): Ensure that the Samsung keyboard cannot remove mentions with it's grammatical corrections #138

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

EverydayPineapple
Copy link

I have been experiencing issues related to persisting mentions when the user is running a recent Samsung device. It looks to me like this issue had been attempted to be fixed with the use of the PlaceholderSpan, however in my case I'm seeing that even these are removed from the text.

My fix involves persisting the placeholder in the MentionsEditText class, rather than holding onto them as part of the spannable string. This seems to have fixed the issue for now.

I'm not sure that this project is actively maintained, but would be grateful if anyone can offer advice on this and whether or not my approach is appropriate.

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

Successfully merging this pull request may close these issues.

1 participant