[0.46] multi-ScrollView does not work in Android
See original GitHub issueIs this a bug report?
Yes (Maybe?)
Environment
react-native -0.46
:node -v
:npm -v
:yarn --version
(if you use Yarn):
Then, specify:
- Target Platform (e.g. iOS, Android): Android
- Development Operating System (e.g. macOS Sierra, Windows 10): Windows 7
- Build tools (Xcode or Android Studio version, iOS or Android SDK version, if relevant): SDK 25
Steps to Reproduce
(Write your steps here:)
Use 「ScrollView」together like this:
…
<ScrollView>
// The First Scroll View
...
<View>
<ScrollView>
// The Second Scroll View
...
</ScrollView>
</View>
...
</ScrollView>
and In IOS, these two Scroll View can scroll as well, but In Android, only the first scroll can scroll, the second scroll is freeze.
Is that correct ??
Please help !!!
Expected Behavior
(Write what you thought would happen.)
Actual Behavior
(Write what happened. Add screenshots!)
Reproducible Demo
example project is here -> https://snack.expo.io/ByUkGrs4b
Issue Analytics
- State:
- Created 6 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
android scrollview not working - Stack Overflow
When I click edit text and keyboard is showing -- then I can't scroll.scrollview not working. What am I doing wrong? If anyone...
Read more >ScrollView - Android Developers
FOCUS_DOWN If the reference refers to a view that does not exist or is part of a hierarchy that is invisible, a RuntimeException...
Read more >Working with the ScrollView | CodePath Android Cliffnotes
When an app has layout content that might be longer than the height of the device and that content should be vertically scrollable,...
Read more >Common bugs in React Native ScrollView and how to fix them
The first and most common mistake of using ScrollView is not knowing when ... we only have to remember one thing: ScrollView works...
Read more >NestedScrollView in Android with Example - GeeksforGeeks
The code for that has been given in both Java and Kotlin Programming Language for Android. Step 2: Working with the activity_main.xml File....
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
@hramos Two scroll views in the same direction is definitely not a good idea, but a horizontal scroll view inside a vertical scroll view is quite common 😌
Is this supposed to work? Nesting scroll views does not seem like a good idea.