Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

116
Views
(React Native iOS) - Scroll to top when tapping on status bar

My code is the following:

    <ScrollView style={styles.scrollView}>
      <RefreshControl
        refreshing={refreshing}
        onRefresh={onRefresh}
      />

      <Text>
        {"\n"}
      </Text>

      <FlatList
        data={data}
        keyExtractor={({ id }, index) => id}
        renderItem={({ item }) => <Item item={item} />}
      />

      <Text style={{ textAlign: "center", color: "white", fontSize: 24, fontFamily: 'Montserrat_600SemiBold' }}>
        Hi there!
        {"\n"}
        {"\n"}
      </Text>
    </ScrollView>

It displays a FlatList within a ScrollView. I want the ScrollView to go back to the top when the user taps on the status bar on an iOS device.

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!