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

176
Views
Scroll parent when child scroll is at end/top

I have a ScrollView (let's call it parent) which is nesting multiple ScrollViews (let's call them childs). When the child finishes scrolling I want to start scrolling the parent when the user continues to scroll over the child.

I've searched in another answers but I couldn't find any information related to this situation. Can anyone help?

Thanks!

Code until now:

return (

    <View style={{ flex: 1 }}>
      <ScrollView style={{ flex: 1, backgroundColor: "white" }}>

        <View style={styles.dummyView1}>
          <ScrollView style={styles.scrollView}>
             SOME LONG TEXT
          </ScrollView>
        </View>



        <View style={styles.dummyView2}>
          <ScrollView style={styles.scrollView}>
           SOME LONG TEXT
          </ScrollView>
        </View>

        <View style={styles.dummyView3}>
          <ScrollView style={styles.scrollView}>
             SOME LONG TEXT
          </ScrollView>
        </View>

        <StatusBar style="auto" />
      </ScrollView>
    </View>
  );
}

const styles = StyleSheet.create({

  scrollView: {
    margin: 10,
    backgroundColor: "#FF5733",
  },

  dummyView1: {
    height: 300,
    backgroundColor: "#3352FF",
  },
  dummyView2: {
    height: 300,
    backgroundColor: "coral",
  },
  dummyView3: {
    height: 300,
    backgroundColor: "#61FF33",
  }
})
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!