Open Gregoirevda opened 2 years ago
@Gregoirevda How did you assess that reactNativeProps
were not passed? Did you inspect the render tree with an inspector such as Flipper? numberOfLines
only works for top-level Text
components, not nested ones. This is a known limitation in React Native.
bypassAnonymousTPhrasingNodes
prop: https://meliorence.github.io/react-native-render-html/api/renderhtmlconfig#bypassanonymoustphrasingnodesHappy to take a closer look later on.
I am also running into this bug. Both reactNativeProps
and getReactNativeProps
fail to pass the props to the underlying component.
Decision Table
<yyy>
is not rendered”Good Faith Declaration
Description
reactNativeProps
orgetReactNativeProps
aren't passed to react native Text components in custom or extendedHTMLElementModel
React Native Information
RNRH Version
6.3.1
Tested Platforms
Reproduction Platforms
Minimal, Reproducible Example
Additional Notes
No response