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

AnimatedEditText only animates first character when using custom keyboard. #1

Closed
sjthn opened this issue Mar 23, 2016 · 4 comments
Closed

Comments

@sjthn
Copy link

sjthn commented Mar 23, 2016

HI. I have a problem with your AnimatedEditText. I ran your sample app on my phone having a custom keyboard(Swiftkey keyboard). When i started entering characters, only the first character gets animated.

I debugged and found that onTextChanged() method returns start value as always zero.

@alphamu
Copy link
Owner

alphamu commented Mar 24, 2016

Yes, that's a known issue. Swift or swiping effectively replace text which makes it a lot harder to figure out of the text is being added or not. Currently, I do plan to investigate if this is possible to solve. Will keep you posted.

alphamu pushed a commit that referenced this issue Mar 24, 2016
@alphamu
Copy link
Owner

alphamu commented Mar 24, 2016

Fixed is version 0.0.4.
Swiping will animate text in.
Selecting words from auto suggest will animate in the word.
When typing with auto suggest, only the last character will animate, if you select a word to auto complete only the last character will animate.

@alphamu
Copy link
Owner

alphamu commented Mar 24, 2016

I've updated the comments above. However, this was actually fixed in v0.0.4. Seems that swift would add a space after auto complete and swiping where as the default keyboard adds the space when a new word is typed. Should work now.

@sjthn
Copy link
Author

sjthn commented Mar 24, 2016

Great!. Will check it. Thanks.

alphamu pushed a commit that referenced this issue Apr 28, 2016
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