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

267
Views
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
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!