@@ -67,10 +67,10 @@ const AutoHeightWebView = React.memo(
[width, height, onSizeUpdated]
);
return (
- <View style={[props.style, { height: height || 20 }]}>
+ <View style={[props.style, { height: height || 20, transform: [{ translateX: -1 }] }]}>
<WebView
{...props}
- style={{}}
+ style={{transform: [{ translateX: 1 }]}}
ref={webView}
onMessage={handleMessage}
injectedJavaScript={script}