react-native-windows
react-native-windows copied to clipboard
Implement writingDirection property for Text for fabric
Implement the writingDirection property for the fabric implementation of Text.
This property was available in RNW Paper via TextViewManager.
See https://reactnative.dev/docs/text-style-props#writingdirection-ios for details.
There is a bug in react native side, once it is fixed and changes integrated, we can implement this change
PR for the bug fix
Changes required for RNW: In the below file react-native-windows\vnext\Microsoft.ReactNative\Fabric\platform\react\renderer\textlayoutmanager\TextLayoutManager.cpp
Inside the GetTextLayout(), set SetReadingDirection by using the value of baseWritingDirection from textAttributes.