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

replaceText does not trigger TextInput's onChangeText event #151

Closed
irrigator opened this issue Jun 6, 2017 · 4 comments
Closed

replaceText does not trigger TextInput's onChangeText event #151

irrigator opened this issue Jun 6, 2017 · 4 comments

Comments

@irrigator
Copy link

typeText works fine but I need to input some non-English text, so I use replaceText. The problem is that it does not trigger onChangeText event. Anyone else experienced this problem?

@LeoNatan
Copy link
Contributor

LeoNatan commented Jun 6, 2017

This is an issue with Earl Grey, the underlying infrastructure we are using on iOS. google/EarlGrey#31

@LeoNatan
Copy link
Contributor

LeoNatan commented Jul 7, 2017

Closing this for now. You can track Earl Grey's progress in the issue linked above.

@LeoNatan LeoNatan closed this as completed Jul 7, 2017
@0xashu
Copy link

0xashu commented Dec 28, 2017

+1
is there another way to solve the issue?

@0xashu
Copy link

0xashu commented Dec 29, 2017

await id('textarea').replaceText(content)
await id('textarea').clearText()
await id('textarea').replaceText(content)

After replaceText, clearText and then replaceText can trigger TextInput's onChangeText event.
cc @irrigator

@wix wix locked and limited conversation to collaborators Jul 23, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants