Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

139
Vistas
Reanimated 2 can't use withSequence with direct value

I want to use withSequence with a direct value as the first value, using the code bellow caused the app to crash.

animatedValue.value = withSequence(startValue, withTiming(endValue));

The bellow code seems to work perfectly but in my case, it doesn't help using the startValue inside withTiming.

animatedValue.value = withSequence(withTiming(startValue, {duration: 0}), withTiming(endValue));
about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

You can just simply set startValue directly to animatedValue.value before triggering the animation:

animatedValue.value = startValue;
animatedValue.value = withTiming(endValue, { duration: 500 })
about 4 years ago · Juan Pablo Isaza Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda