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

288
Views
React Native ScrollView pie de página dinámico

Cómo hacer un pie de página de vista de desplazamiento nativo de React. si el contenido es más pequeño que la pantalla, debe haber un botón en la parte inferior de la pantalla; si es más grande, entonces el botón debe ir al final después del contenido

Hice esto, pero si no hay suficiente contenido, entonces el botón sube

 <ScrollView> <Text>asdasd</Text> <Button text="Next" /> </ScrollView>

si es así, siéntese siempre debajo del desplazamiento debajo del botón, pero también necesito que el botón vaya

 <View> <ScrollView> <Text>asdasd</Text> </ScrollView> <Button text="Next" /> </View>
about 4 years ago · Juan Pablo Isaza
2 answers
Answer question

0

aquí está mi solución que encontré

 <ScrollView> <View style={{ minHeight: height - buttonHeight - safeAreaView }}> <Text>Content</Text> </View> <Button text="Next" /> </ScrollView>
about 4 years ago · Juan Pablo Isaza Report

0

Intente configurar la vista de desplazamiento para flexionar el espacio disponible y el botón para colocarlo en la parte inferior

 <ScrollView style={{flex: 1}}> <Text>asdasd</Text> <Button text="Next" style={{bottom: 0}}/> </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!