-
Notifications
You must be signed in to change notification settings - Fork 24k
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
[Android] White blank screen when load file in a webview #21939
Comments
Try adding overflow: 'hidden' to your view with 150 150 please |
oh,yeah,It runs successfully, thanks so much @Titozzz <View style={{ height: 150, width: 150,overflow:'hidden' }}>
<WebView
source={{ uri: 'https://github.com/facebook/react-native' }}
scalesPageToFit={true}
/>
</View> |
It's related? #21789 |
Please use https://github.com/react-native-community/react-native-webview and file a bug there if you have issues. Thank you |
thanks.. fixed for me <3 |
you are best!) |
thanks so much @Titozzz |
why overflow: 'hidden' can works? |
Environment
react-native info
my package.json
Description
「Android」White blank screen when load file in a webview
Reproducible Demo
you can repeat it with the code
&& my code
The text was updated successfully, but these errors were encountered: