Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

193
Visualizações
react native on drag push transition animation

I prototyped a app in figma and choose the "on drag push" animation to transition between two views.

When I wen't to turn my prototype into a real app using React Native I haven't found a way to do the same transition. I want for my app to navigate to a new screen when i drag the screen from right to right and for the new screen to push the old screen out as I drag my finger like this:

navigation

Does anyone have any sugestoins as to how I can achieve this transition?

I'm using react-navigation to move between diferent screens in the app. My NavigationContainer is setup like this:

import * as React from 'react';
import { NavigationContainer } from '@react-navigation/native';
import { createNativeStackNavigator } from '@react-navigation/native-stack';

import screen1 from './screen1';
import screen2 from './screen2';

const Stack = createNativeStackNavigator();

const App = () => {
    return (
        <NavigationContainer>
            <Stack.Navigator screenOptions={{headerShown: false}}>
            <Stack.Screen name="screen1" component={screen1}/>
            <Stack.Screen name="screen2" component={screen2}/>
            </Stack.Navigator>
        </NavigationContainer>
    );
};

export default App;

And I navigate betwen screens like this:

navigation.navigate('screen2')
about 4 years ago · Juan Pablo Isaza
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda