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.

[Docs] Improve ScrollView documentation

See original GitHub issue
    automaticallyAdjustContentInsets: PropTypes.bool, // true
    contentInset: EdgeInsetsPropType, // zeros
    contentOffset: PointPropType, // zeros
    onScroll: PropTypes.func,
    onScrollAnimationEnd: PropTypes.func,
    scrollEnabled: PropTypes.bool, // true
    scrollIndicatorInsets: EdgeInsetsPropType, // zeros
    showsHorizontalScrollIndicator: PropTypes.bool,
    showsVerticalScrollIndicator: PropTypes.bool,
    style: StyleSheetPropType(ViewStylePropTypes),
    scrollEventThrottle: PropTypes.number, // null

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:14 (3 by maintainers)

github_iconTop GitHub Comments

5reactions
pcottlecommented, Jan 23, 2017

onMomentumScrollEnd was a life saver, this should really get added to the docs! Glad Google indexed this thread 😃

1reaction
brentvatnecommented, May 26, 2015

onScrollAnimationEnd doesn’t seem to fire for horizontal scrolls

edit: need to use onMomentumScrollEnd - onScrollAnimationEnd refers to the incorrect event type and updating that does not fix it even

Read more comments on GitHub >

github_iconTop Results From Across the Web

ScrollView - Android Developers
For vertical scrolling, consider NestedScrollView instead of scroll view ... the scrollbars inside the padded area, increasing the padding of the view.
Read more >
ScrollView | Apple Developer Documentation
Creates a new instance that's scrollable in the direction of the given axis and can show indicators while scrolling. Configuring a scroll view....
Read more >
ScrollView - React Native
Component that wraps platform ScrollView while providing integration with touch locking ... See Apple's documentation on the property.
Read more >
ScrollView — Kivy 2.1.0 documentation
The ScrollView widget provides a scrollable/pannable viewport that is clipped at the scrollview's bounding box. Scrolling Behavior¶. The ScrollView accepts ...
Read more >
ScrollView Overview - Kendo UI for jQuery - Documentation
If serverPaging is enabled, the ScrollView will request the data in advance so it becomes available before it is required, thus improving user...
Read more >

github_iconTop Related Medium Post

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