question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[0.46] multi-ScrollView does not work in Android

See original GitHub issue

Is this a bug report?

Yes (Maybe?)

Environment

  1. react-native -0.46:
  2. node -v:
  3. npm -v:
  4. yarn --version (if you use Yarn):

Then, specify:

  1. Target Platform (e.g. iOS, Android): Android
  2. Development Operating System (e.g. macOS Sierra, Windows 10): Windows 7
  3. 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:closed
  • Created 6 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
HofmannZcommented, Jul 8, 2017

@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 😌

1reaction
hramoscommented, Jul 7, 2017

Is this supposed to work? Nesting scroll views does not seem like a good idea.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found