I wrap WebView inside a View, and set the height from the View.
<View style={{ height: 200 }}>
<WebView
automaticallyAdjustContentInsets={false}
source={{uri: 'https://player.vimeo.com/video/24156534?title=0&byline=0&portrait=0'}}
/>
</View>
More Related Contents:
- How to render a local HTML file with flutter dart webview
- JavaFX 8 WebEngine: How to get console.log() from javascript to System.out in java?
- Swift Open Link in Safari
- What is component in reactjs?
- Unable to load script from assets index.android.bundle on windows
- How can I display a pdf document into a Webview?
- Print: Entry, “:CFBundleIdentifier”, Does Not Exist
- How can I generate an apk that can run without server with react-native?
- How to make a Scroll Listener for WebView in Android
- Is there a listener for when the WebView displays it’s content?
- Is there a better way to refresh WebView?
- How to display the lastmessage sent when user is not inside the chat?
- How to register event with useEffect hooks?
- Android: how to select texts from webview
- React navigation goBack() and update parent state
- Is it possible to get the HTML code from WebView
- How to upload file to server using react-native
- How to access the camera from within a Webview?
- How to reset TabNavigator when user logs out (from other screen)
- Android WebView for Facebook Like Button
- Android 4.4 giving ERR_CACHE_MISS error in onReceivedError for WebView back
- How to remove ‘Warning: Async Storage has been extracted from react-native core…’?
- React Native project, index.ios.js or index.android.js not generated
- What does the colon mean in Javascript after function?
- ListView grid in React Native
- How to enable cookies in android webview?
- can not resolve symbol “javafx.scene.web”
- Detecting Webview Error and Show Message
- What is the best way to store private data in react-native?
- How can I dispatch function in redux?