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

Native TextField events numDeleted and newCharacters fail on Android #27

Open
ghost opened this issue Jul 16, 2019 · 1 comment
Open

Comments

@ghost
Copy link

ghost commented Jul 16, 2019

example.zip

The events numDeleted and newCharacters do not behave as described in the docs on Android (4.3). Please see the attached demo project for a working example. When run, you can see that

  • newCharacters returns ALL characters, not just the newly typed.
  • numDeleted returns string length -1 every time a new character is entered (i.e. not deleted)

When run on iOS, all works acording to the docs.

To reproduce, just run the attached project, enter characters one by one in the text field and watch the output in the console window.

@jaimealemany
Copy link

I just posted a very related bug here #192

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

1 participant