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

172
Views
¿Cómo ajustar a la vista adyacente sin importar cuánto se desplace en reaccionar nativo?

Hice una vista de desplazamiento como esta:

 <ScrollView horizontal={true} snapToInterval={ScreenWidth} decelerationRate="fast" snapToAlignment={"center"}> <View style={{width:Screen}}>...</View> <View style={{width:Screen}}>...</View> <View style={{width:Screen}}>...</View> </ScrollView>

pero si me desplazo/deslizo demasiado rápido esto sucede (va directamente a la última Vista)
pero quiero que esto suceda sin importar qué tan rápido pasen (solo va a la Vista adyacente)

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

lo resolví

todo lo que tenía que hacer era usar disableIntervalMomentum={true}

 <ScrollView horizontal={true} snapToInterval={ScreenWidth} decelerationRate="fast" disableIntervalMomentum={true}> <View style={{width:Screen}}>...</View> <View style={{width:Screen}}>...</View> <View style={{width:Screen}}>...</View> </ScrollView>
about 4 years ago · Juan Pablo Isaza Report
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!