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.

ScrollView overScrollMode prop not working

See original GitHub issue

Is this a bug report?

yes

Have you read the Contributing Guidelines?

sure

Environment

OS: macOS Sierra 10.12.6 Node: 8.4.0 Yarn: 0.27.5 npm: 5.4.0 react-native:0.45.1 Target Platform: Android (6.0)

Steps to Reproduce

(Write your steps here:)

<ScrollView ref='scrollView'  overScrollMode={'always'} contentContainerStyle={{alignItems:'center'}}>

          <View style={{...}}>
        </ScrollView>

Expected Behavior

It supposed to be scrolled whatever the height of the content is;

Actual Behavior

Can not be scrolled.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:6
  • Comments:5

github_iconTop GitHub Comments

4reactions
wv1124commented, Nov 1, 2017

try to remove contentContainerStyle

1reaction
barron9commented, Mar 5, 2018

its still over scrolling for the prop overscrollmode={‘never’}

Read more comments on GitHub >

github_iconTop Results From Across the Web

scrollview has no proptype for native prop RCTScrollView ...
Have you found a solution to this? I am facing the same issue. ... I'm having the same problem... any solution? – Daniel...
Read more >
Common bugs in React Native ScrollView and how to fix them
React Native's ScrollView component is ubiquitous, but its implementation can sometimes lead to mistakes. Learn what to look out for here.
Read more >
ScrollView - React Native
Component that wraps platform ScrollView while providing integration with touch locking "responder" system.
Read more >
scrollview has no proptype for native prop RCTScrollView ...
Coding example for the question scrollview has no proptype for native prop RCTScrollView.overScrollMode of native type string-React Native.
Read more >
React Native Scrollview 101: The Best Practices Guide - Waldo
Moreover, not being able to scroll through your app's screen ... Luckily, scrolling containers provide a reliable solution to this problem.
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