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

155
Views
Cómo presentar una pantalla modalmente como iOS en react-native

Quiero presentar una pantalla de manera modal que empuje la otra pantalla hacia atrás de forma similar a como se hace en Swift para las aplicaciones de iOS. No quiero que el modal venga desde abajo y luego cubra toda la página, solo quiero que venga desde abajo y empuje la otra pantalla hacia atrás.

Aquí hay una imagen de lo que quiero decir.

¿Cómo puedo hacer esto en reaccionar nativo?

ingrese la descripción de la imagen aquí

Aquí está mi código:

 > import { StyleSheet, Text, View } from 'react-native' import React > from 'react' import { createStackNavigator } from > '@react-navigation/stack' import { LoginScreen } from > '../../features/account/screens/login.screen' import { RegisterScreen > } from '../../features/account/screens/register.screen' > > const Stack = createStackNavigator() > > export const AccountNavigator = () => ( > > <Stack.Navigator > > > <Stack.Screen > name="Login" > component={LoginScreen} > options={{ > headerShown:false, > > }} > /> > > <Stack.Screen > name="Register" > component={RegisterScreen} > options={{ > > }} > > /> > > </Stack.Navigator> )
about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Puedes hacerlo con accesorios de presentación;

 <Stack.Navigator presentation="modal" > ......//rest of the code
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!