Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

178
Vistas
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
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda