Comment on page
Scroll
This component is a generic container for other components. Unlike View, it supports scrolling, panning, and zooming so it is possible to view larger contents off-screen.
- Flexbox Styles
- View Styles
- Transform Styles
Name | Type | Description |
bounces | boolean |
|
horizontal | boolean |
|
vertical | boolean |
|
keyboardDismissMode | 'none' | 'interactive' | 'on-drag' |
|
keyboardShouldPersistTaps | boolean | 'always' | 'never' | 'handled' = 'never' |
|
onContentSizeChange | (width: number, height: number) => void |
|
onFocus | undefined |
|
onBlur | undefined |
|
onKeyPress | undefined |
|
onLayout | undefined |
|
onScroll | undefined |
|
onScrollBeginDrag | undefined |
|
onScrollEndDrag | undefined |
|
scrollXAnimatedValue? | AnimatedValue |
|
scrollYAnimatedValue? | AnimatedValue |
|
overScrollMode? | 'auto' | 'always' | 'never' |
|
pagingEnabled | boolean |
|
snapToInterval | number |
|
scrollEnabled | boolean |
|
scrollEventThrottle | number |
|
scrollIndicatorInsets | ScrollIndicatorInsets |
|
scrollsToTop | boolean |
|
showsHorizontalScrollIndicator | boolean |
|
showsVerticalScrollIndicator | boolean |
|
style | ViewStyleRuleSet | ViewStyleRuleSet[] |
|
tabNavigation? | 'local' | 'cycle' | 'once' |
|
testId | string |
|
Last modified 3yr ago