<ScrollView>

<ScrollView> represents a scrollable View.

Basic Props(inherits View Props)StickyHeaderComponentcontentContainerStylecontentOffsetdecelerationRatedisableIntervalMomentumdisableScrollViewPanResponderhorizontalinvertStickyHeaderskeyboardDismissModekeyboardShouldPersistTapspagingEnabledrefreshControlremoveClippedSubviewsscrollEnabledscrollPerfTagAndroidshowsHorizontalScrollIndicatorshowsVerticalScrollIndicatorsnapToEndsnapToIntervalsnapToOffsetssnapToStartstickyHeaderHiddenOnScrollstickyHeaderIndices Platform-Specific PropsendFillColor AndroidfadingEdgeLength AndroidnestedScrollEnabled AndroidoverScrollMode AndroidpersistentScrollbar AndroidalwaysBounceHorizontal iOSalwaysBounceVertical iOSautomaticallyAdjustContentInsets iOSautomaticallyAdjustsScrollIndicatorInsets iOSbounces iOSbouncesZoom iOScanCancelContentTouches iOScenterContent iOScontentInset iOScontentInsetAdjustmentBehavior iOSdirectionalLockEnabled iOSindicatorStyle iOSmaintainVisibleContentPosition iOSmaximumZoomScale iOSminimumZoomScale iOSonScrollToTop iOSpinchGestureEnabled iOSscrollEventThrottle iOSscrollIndicatorInsets iOSscrollToOverflowEnabled iOSscrollsToTop iOSsnapToAlignment iOSzoomScale iOS
Methods.flashScrollIndicators().scrollTo().scrollToEnd() Event PropsonContentSizeChangeonMomentumScrollBeginonMomentumScrollEndonScrollonScrollBeginDragonScrollEndDrag

In contrast to <FlatList> which renders items lazily as they are about to appear during scrolling (thus saving memory and processing time), <ScrollView> renders all children at once.


RESETRUNFULL
import React from 'react';import { StyleSheet, Text, SafeAreaView, ScrollView, StatusBar } from 'react-native';const App = () => {
  return (
    <SafeAreaView style={styles.container}>
      <ScrollView style={styles.scrollView}>
        <Text style={styles.text}>
          Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do
          eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad
          minim veniam, quis nostrud exercitation ullamco laboris nisi ut
          aliquip ex ea commodo consequat. Duis aute irure dolor in
          reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla
          pariatur. Excepteur sint occaecat cupidatat non proident, sunt in
          culpa qui officia deserunt mollit anim id est laborum.
        </Text>
      </ScrollView>
    </SafeAreaView>
  );}const styles = StyleSheet.create({
  container: {
    flex: 1,
    paddingTop: StatusBar.currentHeight,
  },
  scrollView: {
    backgroundColor: 'pink',
    marginHorizontal: 20,
  },
  text: {
    fontSize: 42,
  },});export default App;