Closed mllngtn closed 5 years ago
Hi,
A mysterious black 'border' is showing at the bottom of my WebView on iOS:
It looks like this is a known issue with react-native-webview - the fix is to specify a transparent background color for the WebView: https://stackoverflow.com/questions/41188362/react-native-webview-rendering-unexpected-border-at-bottom
My question is: is there any way to add styles to the WebView component using this module (I can obviously apply styles to the table, but can't figure out how to make changes to the WebView itself)?
Thanks!
@mllngtn Have you tried with webviewProps? You should be able to pass a style prop through it.
webviewProps
style
@jsamr Thank you! I am a fool and somehow skipped over that section of the docs
Hi,
A mysterious black 'border' is showing at the bottom of my WebView on iOS:
It looks like this is a known issue with react-native-webview - the fix is to specify a transparent background color for the WebView: https://stackoverflow.com/questions/41188362/react-native-webview-rendering-unexpected-border-at-bottom
My question is: is there any way to add styles to the WebView component using this module (I can obviously apply styles to the table, but can't figure out how to make changes to the WebView itself)?
Thanks!