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

268
Vistas
Scrollview with react-native-modals is not working properly on IOS

I have an issue with scroll view inside Swipe model using react-native-modals. The problem is in Android the scrolling is smooth and working perfectly. However, with iOS scrolling is with short amount only it scrolls for tiny amount then it stops meaning i have to repeat scrolling for 10 times over the screen to view the bottom with small contents only. This is the code for the model.

 <Modal
propagateSwipe={true}
visible={this.props.visible}
useNativeDriver={true}
modalAnimation={
  new SlideAnimation({
    initialValue: 0, // optional
    slideFrom: 'bottom', // optional
    useNativeDriver: false, // optional
  })
}
style={stylesSwipeCard.modal}
rounded={true}
modalStyle={[
  stylesSwipeCard.customModal,
  this.props.customModalStyle,
  {maxHeight: height * this.props.height},
]}
onTouchOutside={() => this.props.closeModal(false)}
swipeDirection={['down']} // can be string or an array
swipeThreshold={100} // default 100
onSwipeOut={(event) => {
  this.props.closeModal(false);
}}
containerStyle={stylesSwipeCard.modalContainer}
footer={this.props.hasFooter && this.props.footerContent}>
<ModalContent style={stylesSwipeCard.modalContent}>
  <View
    style={[stylesSwipeCard.container, this.props.modalContainerStyle]}>
    <Image source={line_swipe} style={{alignSelf: 'center'}} />

    <ScrollView>
      <TouchableHighlight>
        <TouchableWithoutFeedback>
          <View>{this.props.children}</View>
        </TouchableWithoutFeedback>
      </TouchableHighlight>
    </ScrollView>
  </View>
</ModalContent>

Screenshot of modal content

I would appreciate any help or suggestions 😄. Thanks

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