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

[Fabric] Shim RCTTextInput #1681

Merged
merged 3 commits into from
Jan 25, 2023
Merged

Conversation

shwanton
Copy link

Please select one of the following

  • I am removing an existing difference between facebook/react-native and microsoft/react-native-macos 👍
  • I am cherry-picking a change from Facebook's react-native into microsoft/react-native-macos 👍
  • I am making a fix / change for the macOS implementation of react-native
  • I am making a change required for Microsoft usage of react-native

Summary

Fabric on macOS implementation:
Shim RCTTextInput to work w/ Fabric

closes #1547

Changelog

[macOS][Added] - Shim RCTTextInput for Fabric

Test Plan

[x] Build RNTester-macOS w/ Fabric - doesn’t run yet, but no RCTTextInput errors
CleanShot 2023-01-23 at 16 51 43

[x] Build RNTester - iOS w/ Fabric
CleanShot 2023-01-23 at 16 53 04

[x] Build RNTester-macOS w/ Paper - should work
CleanShot 2023-01-23 at 16 59 48

[x] Build RNTester - iOS w/ Paper -
CleanShot 2023-01-23 at 16 58 23

@shwanton shwanton changed the title Shim RCTTextInput [Fabric] Shim RCTTextInput Jan 24, 2023
@shwanton shwanton marked this pull request as ready for review January 24, 2023 06:43
@shwanton shwanton requested a review from a team as a code owner January 24, 2023 06:43
Copy link
Collaborator

@Saadnajmi Saadnajmi left a comment

Choose a reason for hiding this comment

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

Note: This might change a bit with 0.71 because 0.71 introduced this commit (facebook#33653) that conflicts with some of the macOS specific changes we made to TextInput (#1423). So this PR might be worth holding off till after 0.71.

@shwanton
Copy link
Author

Note: This might change a bit with 0.71 because 0.71 introduced this commit (facebook#33653) that conflicts with some of the macOS specific changes we made to TextInput (#1423). So this PR might be worth holding off till after 0.71.

Once we have Fabric building, we plan to revisit TextInput in depth & use the latest Fabric changes.

@Saadnajmi Saadnajmi merged commit 3467d0d into microsoft:main Jan 25, 2023
@shwanton shwanton deleted the fabric/shim-rcttextinput branch January 25, 2023 17:51
shwanton added a commit to shwanton/react-native-macos that referenced this pull request Feb 13, 2023
Co-authored-by: Shawn Dempsey <shawndempsey@fb.com>
shwanton added a commit to shwanton/react-native-macos that referenced this pull request Mar 10, 2023
Co-authored-by: Shawn Dempsey <shawndempsey@fb.com>
# Conflicts:
#	React/Fabric/Mounting/ComponentViews/TextInput/RCTTextInputComponentView.mm
#	React/Fabric/Mounting/ComponentViews/TextInput/RCTTextInputUtils.h
#	React/Fabric/Mounting/ComponentViews/TextInput/RCTTextInputUtils.mm
shwanton added a commit to shwanton/react-native-macos that referenced this pull request Mar 10, 2023
Co-authored-by: Shawn Dempsey <shawndempsey@fb.com>
# Conflicts:
#	React/Fabric/Mounting/ComponentViews/TextInput/RCTTextInputComponentView.mm
#	React/Fabric/Mounting/ComponentViews/TextInput/RCTTextInputUtils.h
#	React/Fabric/Mounting/ComponentViews/TextInput/RCTTextInputUtils.mm
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

Successfully merging this pull request may close these issues.

Shim RCTTextInput
2 participants