Skip to content

Commit

Permalink
fix(styles): Removes hard-coded container white backgroundColor (reac…
Browse files Browse the repository at this point in the history
…t-native-webview#478)

Fixes react-native-webview#475

react-native-webview#472 added a `backgroundColor` of `white` to the `container` style which broke the ability to set a `transparent` background color on the `WebView` component. This simply removes that unnecessary style.
  • Loading branch information
maxschmeling authored and Titozzz committed Apr 4, 2019
1 parent 934199d commit 5ec74ea
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/WebView.styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ const styles = StyleSheet.create<Styles>({
container: {
flex: 1,
overflow: 'hidden',
backgroundColor: 'white',
},
errorContainer: {
flex: 1,
Expand Down

0 comments on commit 5ec74ea

Please sign in to comment.