0

Is it an option to set transparent background to WebView element?

<View>
   <WebView source={{uri: 'https://www.demo.io'}} style={{ backgroundColor:'transparent'}}/>
</View>

My HTML do ave transparent background, but it seems that the web view is still not transparent

  • try giving the backgroundColor: 'transparent' to the View instead – Emma Apr 12 at 18:53

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.