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

179
Views
React native flatlist pull from bottom functionality

I know how to implement a "pull to refresh" from the top of the list functionality using the onRefresh prop,is there a way to do something similar for the bottom end of the list,so when i "pull" from the bottom would trigger a function ?

The onEndReached prop does'nt really work as i would like,since it runs a function everytime you reach the end of the list,i dont want that,i want nothing to run unless i "pull" from the bottom.

I tried to invert the flatlist using the invert prop,which makes use of the onRefresh prop when pulling from the bottom(its upside down),and it works perfectly,but i want to have them both.

Any ideas ?

about 4 years ago · Santiago Trujillo
1 answers
Answer question

0

Found it,i just added a negative value to onEndReachedThreshold prop,so onEndReachedThreshold={-0.5} will run the onEndReached function when "pulling" to as much as half of the flatlist height.

about 4 years ago · Santiago Trujillo 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!