Description
Decision Table
- My issue does not look like “The HTML attribute 'xxx' is ignored” (unless we claim support for it)
- My issue does not look like “The HTML element
<yyy>
is not rendered”
Good Faith Declaration
- I have read the HELP document here: https://git.io/JBi6R
- I have read the CONTRIBUTING document here: https://git.io/JJ0Pg
- I have confirmed that this bug has not been reported yet
Description
fter upgrading from React Native 0.73.x to 0.78.2, the systemFonts array passed to is no longer working.
Previously, we were able to use custom fonts by adding them to the systemFonts array like this:
`const systemFonts = ['Nunito-Regular', 'System'];
<RenderHtml
source={{ html }}
systemFonts={systemFonts}
contentWidth={width}
/>`
This worked correctly on RN 0.73.x, but after updating to 0.78.2 (with [email protected]), the custom fonts are ignored and fall back to the default system font.
Expected Behavior
Custom fonts added to systemFonts should apply correctly via system props as in earlier versions.
Actual Behavior
Custom fonts are silently ignored even if properly linked and verified working via normal components in the app.
React Native Information
`"react-native": "0.78.2",
RNRH Version
"react-native-render-html": "^6.3.4"`
Tested Platforms
- Android
- iOS
- Web
- MacOS
- Windows
Reproduction Platforms
- Android
- iOS
- Web
- MacOS
- Windows
Minimal, Reproducible Example
none
Additional Notes
No response