Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pass all props to webview #52

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

robwalkerco
Copy link

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
Author

Details of the onLoad... issue on iOS are available at facebook/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.

None yet

1 participant