Skip to content

Remove JS autoFocus implementation - #27923

Closed
janicduplessis wants to merge 1 commit into
react:masterfrom
janicduplessis:autofocus-native-2
Closed

Remove JS autoFocus implementation#27923
janicduplessis wants to merge 1 commit into
react:masterfrom
janicduplessis:autofocus-native-2

Conversation

@janicduplessis

@janicduplessisjanicduplessis commented Jan 31, 2020

Copy link
Copy Markdown
Contributor

Summary

Follow up to #27803 and #27924. We no longer need to call focus on mount from JS as both iOS and Android implements it natively now.

Changelog

[General] [Fixed] - Remove JS autoFocus implementation

Test Plan

Test that focus works in RN Tester with this, #27803 and #27924

@facebook-github-botfacebook-github-bot added CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. Contributor A React Native contributor. labels Jan 31, 2020
@janicduplessisjanicduplessis changed the title Don't call focus on mount on iOSRemove JS autoFocus implementationFeb 1, 2020
@elicwhite
elicwhite self-requested a review February 1, 2020 01:20
@elicwhiteelicwhite self-assigned this Feb 1, 2020
@elicwhite

Copy link
Copy Markdown
Contributor

Remind me to land this on February 10th

@ecreeth

Copy link
Copy Markdown
Contributor

Ping! @TheSavior

@elicwhite

elicwhite commented Feb 10, 2020

Copy link
Copy Markdown
Contributor

Thanks for the ping!

Looks like I can't land this yet. Let's check again on 2/17! 😀

@ecreeth

Copy link
Copy Markdown
Contributor

I'M a bot 😆 Ping! @TheSavior

@janicduplessis

Copy link
Copy Markdown
ContributorAuthor

😄 thanks @ecreeth

@elicwhite

Copy link
Copy Markdown
Contributor

Thanks for the pings!

@facebook-github-botfacebook-github-bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@TheSavior is landing this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

@react-native-bot

Copy link
Copy Markdown
Collaborator

This pull request was successfully merged by @janicduplessis in 0569d4c.

When will my fix make it into a release? | Upcoming Releases

@react-native-botreact-native-bot added the Merged This PR has been merged. label Mar 2, 2020
@elicwhite

Copy link
Copy Markdown
Contributor

Yay!

osdnk pushed a commit to osdnk/react-native that referenced this pull request Mar 9, 2020
Summary:
Follow up to react#27803 and react#27924. We no longer need to call focus on mount from JS as both iOS and Android implements it natively now.
## Changelog
[General] [Fixed] - Remove JS autoFocus implementation
Pull Request resolved: react#27923
Test Plan: Test that focus works in RN Tester with this, react#27803 and react#27924
Differential Revision: D19956373
Pulled By: TheSavior
fbshipit-source-id: 5d99ead55011663b3edaf499ac7616765a24cb50
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

BugCLA SignedThis label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.ContributorA React Native contributor.MergedThis PR has been merged.Platform: iOSiOS applications.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants

@janicduplessis@elicwhite@ecreeth@react-native-bot@facebook-github-bot