File tree Expand file tree Collapse file tree 1 file changed +5
-9
lines changed Expand file tree Collapse file tree 1 file changed +5
-9
lines changed Original file line number Diff line number Diff line change @@ -171,25 +171,21 @@ var WebViewBridge = React.createClass({
171
171
} ) ;
172
172
}
173
173
} ;
174
+
175
+ const props = { ...this . props } ;
176
+ delete props . onBridgeMessage ;
177
+ delete props . onShouldStartLoadWithRequest ;
174
178
175
179
var webView =
176
180
< RCTWebViewBridge
177
181
ref = { RCT_WEBVIEWBRIDGE_REF }
178
182
key = "webViewKey"
183
+ { ...props }
179
184
style = { webViewStyles }
180
- url = { this . props . url }
181
- html = { this . props . html }
182
- injectedJavaScript = { this . props . injectedJavaScript }
183
- bounces = { this . props . bounces }
184
- scrollEnabled = { this . props . scrollEnabled }
185
- contentInset = { this . props . contentInset }
186
- automaticallyAdjustContentInsets = { this . props . automaticallyAdjustContentInsets }
187
185
onLoadingStart = { this . onLoadingStart }
188
186
onLoadingFinish = { this . onLoadingFinish }
189
187
onLoadingError = { this . onLoadingError }
190
188
onShouldStartLoadWithRequest = { onShouldStartLoadWithRequest }
191
- scalesPageToFit = { this . props . scalesPageToFit }
192
- allowsInlineMediaPlayback = { this . props . allowsInlineMediaPlayback }
193
189
onBridgeMessage = { onBridgeMessage }
194
190
/> ;
195
191
You can’t perform that action at this time.
0 commit comments