Skip to content

Commit 3461e98

Browse files
zhongwuzwfacebook-github-bot
authored andcommitted
Fabric: Fixes Text style prop 'writingDirection' not working on IOS New Architecture (facebook#51238)
Summary: Fixes facebook#51235 . ## Changelog: [IOS] [FIXED] - Fabric: Fixes Text style prop 'writingDirection' not working on IOS New Architecture Pull Request resolved: facebook#51238 Test Plan: Repro please see facebook#51235 Reviewed By: sammy-SC Differential Revision: D74564832 Pulled By: cipolleschi fbshipit-source-id: 82702ec3b3e963c454e23a9b18543cae6f378749
1 parent 77fccb7 commit 3461e98

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/react-native/ReactCommon/react/renderer/components/text/BaseTextProps.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ static TextAttributes convertRawProp(
120120
textAttributes.baseWritingDirection = convertRawProp(
121121
context,
122122
rawProps,
123-
"baseWritingDirection",
123+
"writingDirection",
124124
sourceTextAttributes.baseWritingDirection,
125125
defaultTextAttributes.baseWritingDirection);
126126
textAttributes.lineBreakStrategy = convertRawProp(

0 commit comments

Comments
 (0)