We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 369dac2 commit 19adfe0Copy full SHA for 19adfe0
index.js
@@ -81,11 +81,11 @@ export default class MyWebView extends Component {
81
ref={(ref) => { this.webview = ref; }}
82
injectedJavaScript={Platform.OS === 'ios' ? iosScript : androidScript}
83
scrollEnabled={this.props.scrollEnabled || false}
84
- onMessage={this._onMessage}
85
javaScriptEnabled={true}
86
automaticallyAdjustContentInsets={true}
87
{...this.props}
88
- style={[{width: _w}, this.props.style, {height: _h}]}
+ onMessage={this._onMessage}
+ style={[{ width: _w }, this.props.style, { height: _h }]}
89
/>
90
)
91
}
0 commit comments