meliorence / react-native-render-html

iOS/Android pure javascript react-native component that renders your HTML into 100% native views
https://meliorence.github.io/react-native-render-html/
BSD 2-Clause "Simplified" License
3.48k stars 589 forks source link

Android - React-Native-render-html - Wont show all content #613

Closed afu1995 closed 1 year ago

afu1995 commented 1 year ago

Decision Table

Good Faith Declaration

Description

On Android it wont show all content from the source. I don't know if it's the contentWidth or source prop that fails. It works perfectly fine on iOS.

React Native Information

System:
OS: macOS 13.1
CPU: (10) arm64 Apple M1 Pro
Memory: 73.19 MB / 16.00 GB
Shell: 5.8.1 - /bin/zsh
Binaries:
Node: 16.17.0 - ~/.nvm/versions/node/v16.17.0/bin/node
Yarn: 1.22.17 - /opt/homebrew/bin/yarn
npm: 8.15.0 - ~/.nvm/versions/node/v16.17.0/bin/npm
Watchman: 2022.11.14.00 - /opt/homebrew/bin/watchman
Managers:
CocoaPods: 1.11.3 - /opt/homebrew/bin/pod
SDKs:
iOS SDK:
Platforms: DriverKit 22.2, iOS 16.2, macOS 13.1, tvOS 16.1, watchOS 9.1
Android SDK: Not Found
IDEs:
Android Studio: 2022.1 AI-221.6008.13.2211.9477386
Xcode: 14.2/14C18 - /usr/bin/xcodebuild
Languages:
Java: 17.0.1 - /usr/bin/javac
npmPackages:
@react-native-community/cli: Not Found
react: 18.2.0 => 18.2.0
react-native: 0.70.6 => 0.70.6
react-native-macos: Not Found
npmGlobalPackages:
react-native: Not Found

RNRH Version

"react-native-render-html": "^6.3.4"

Tested Platforms

Reproduction Platforms

Minimal, Reproducible Example

<RenderHtml contentWidth={Screen.width} source={{ html: description }} />

Additional Notes

No response