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

242
Visualizações
Toast in not show when i navigate one screen to another screen when i setTimeout 1000 it shown but i want to show toast without this in react native
navigate("openshift")
 setTimeout(() => {
     showSuccessToast('Shift Assigned');
}, 1000);

/// BUT I want in this form showsucesstoast is file in which i have set Toast detail navigate in which i am going to navigate one screen to another screen.

       navigate("openshift"); 
      showSuccessToast('Shift Assigned');
about 4 years ago · Juan Pablo Isaza
1 Respostas
Responde à pergunta

0

You'll need to add some delay before navigating to other screen otherwise the process would be so fast, user won't be able to see the toast. like this-

showSuccessToast('Shift Assigned');
setTimeout(() => {
     navigate("openshift")
}, 1000);
about 4 years ago · Juan Pablo Isaza Relatório
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