[Android] Impossible to scroll WebView inside a ScrollView that is already in scroll mode
See original GitHub issueDescription
[I did go through earlier issues and this is not what is depicted in Issue #4773] I have a WebView inside a ScrollView. The WebView has a height and everything goes well (scrolling and all)
<ScrollView style={{flex:1}}>
<View> ... </View>
<WebView
...
style={{height:heightValue}}
/>
</ScrollView>
till the view above in the example have to display information that take more space. The scrolling of ScrollView then kicks in and deny WebView its Code-Given right to scroll 😃.
Reproduction
heightValue = 1000 // putting 100 will let the Webview scroll normally.
<ScrollView style={{flex:1}}>
<View> <Text> Viewtiful </Text> </View>
<WebView
source={{uri: 'www.reddit.com'}}
style={{height:heightValue}}
/>
</ScrollView>
Additional Information
- React Native version: 0.34.1
- Platform: Android
- Operating System: Windows
Issue Analytics
- State:
- Created 7 years ago
- Reactions:6
- Comments:8 (2 by maintainers)
Top Results From Across the Web
Android scrolling issue webview inside scrollview with ...
I have a viewpager which contains a layout with scrollview as parent and webview as child ...
Read more >ScrollView - .NET MAUI - Microsoft Learn
NET MAUI) ScrollView is a view that's capable of scrolling its content. By default, ScrollView scrolls its content vertically.
Read more >WebView inside a ScrollView. Scroll problems
Hi I have a WebView inside a ScrollView . But when I try to scroll in the WebView section I can`t scroll. Only...
Read more >How to simultaneously scroll the WebView content ... - Reddit
The webView is always visible on screen and it is in front of the scrollView. What I want to achieve is this: As...
Read more >WebView - Android Developers
The content of this view will be considered for scroll capture if scrolling is possible. int, SCROLL_CAPTURE_HINT_EXCLUDE. Explicitly exclude this view as a ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’d prefer if a new issue was opened, since we’ve added a new template with additional requirements since this issue was originally filed.
issue still exists on 0.55, did anyone manage to find workaround with this?