Skip to content

Pass all props to webview#52

Open
robwalkerco wants to merge 1 commit into
seekshiva:masterfrom
robwalkerco:patch-2
Open

Pass all props to webview#52
robwalkerco wants to merge 1 commit into
seekshiva:masterfrom
robwalkerco:patch-2

Conversation

@robwalkerco

Copy link
Copy Markdown

Pass all props to the WebView before setting the specific WebView props required by react-native-remote-svg.

The baseUrl added to the source prop fixed an issue where iOS does not fire the onLoad... events. This also means that the calls to onLoadStart and 'onLoadEnd' can be removed, as they will be delegated to the WebView.

Pass all props to the WebView before setting the specific WebView props required by react-native-remote-svg.

The `baseUrl` added to the `source` prop fixed an issue where iOS does not fire the `onLoad...` events. This also means that the calls to `onLoadStart` and 'onLoadEnd' can be removed, as they will be delegated to the WebView.
@robwalkerco

Copy link
Copy Markdown
Author

Details of the onLoad... issue on iOS are available at react/react-native#18802 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant