You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have confirmed that this bug has not been reported yet
Description
defaultTextProps overwrites customrenderers style. The provided snack is a minimal reproduction. I believe it should be the other way around (as defaultTextProps should be default & overwritable?)
My main issue is: I should be able to add custom fontFamilies to em and strong tags, if they are nested like this:
strongFont italicFont strongItalicFont
this is possible with customrenderers, but I can't provide a default style/font for eg: p tags...
I tried to set defaultStyles with tagStyles, but those also overwrite the customrenderers (and it's not possible to see if the tag is nested)
Any solution to this problem or help is much appreciated?
Decision Table
<yyy>
is not rendered”Good Faith Declaration
Description
defaultTextProps overwrites customrenderers style. The provided snack is a minimal reproduction. I believe it should be the other way around (as defaultTextProps should be default & overwritable?)
My main issue is: I should be able to add custom fontFamilies to em and strong tags, if they are nested like this:
strongFont
italicFont
strongItalicFont
this is possible with customrenderers, but I can't provide a default style/font for eg: p tags...
I tried to set defaultStyles with tagStyles, but those also overwrite the customrenderers (and it's not possible to see if the tag is nested)
Any solution to this problem or help is much appreciated?
React Native Information
RNRH Version
6.3.4
Tested Platforms
Reproduction Platforms
Minimal, Reproducible Example
https://snack.expo.dev/@upgradeestate/rnrhtml-template
Additional Notes
If this is incorrectly formatted or my question was answered somewhere else, please let me know!
The text was updated successfully, but these errors were encountered: