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

Tweaked how the TextInput works in order to fix autocorrect. #7651

Closed
wants to merge 4 commits into from

Conversation

mpretty-cyro
Copy link

This is the first attempt at resolving issue #7496 (Autocorrect basically doesn't work on iOS).

This makes a fairly drastic change to how the TextField handles input, this change makes the TextInput reject changes in native by default, the change event is sent to RN which then calls back to native and directly set's the text.

We will probably need to make similar changes on Android since it is a behavioural change but I haven't just yet as I'm not sure if this is the behaviour we want from the TextInput.

Open to input - let me know if anyone can think of alternate solutions.

@ghost
Copy link

ghost commented May 20, 2016

By analyzing the blame information on this pull request, we identified @Bhullnatik and @nicklockwood to be potential reviewers.

@ghost ghost added GH Review: review-needed CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. labels May 20, 2016
@facebook-github-bot
Copy link
Contributor

@mpretty-homepass updated the pull request.

@ghost
Copy link

ghost commented May 20, 2016

@mpretty-homepass updated the pull request.

@ghost
Copy link

ghost commented May 20, 2016

@mpretty-homepass updated the pull request.

@rigdern
Copy link
Contributor

rigdern commented May 23, 2016

PR #7676 offers an alternative approach for fixing this.

@mpretty-cyro
Copy link
Author

Closing in favour of 26aa27d

@mpretty-cyro mpretty-cyro deleted the AutoCorrectFixMaster branch May 30, 2016 03:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants