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

156
Views
Reanimated bloqueó la aplicación mientras usaba useAnimatedStyle

Estoy tratando de animar el radio del borde de una tarjeta y la opacidad de la sombra, pero se cierra instantáneamente en IOS. Sin embargo, no estoy seguro de si estoy usando reanimated correctamente. Siento que estoy cometiendo un error crucial. Aquí está el código.

 const anim = loop({ autoStart: true, duration: 1750, easing: EasingNode.inOut(EasingNode.ease), }); const riskCardStyle = useAnimatedStyle(() => { const borderRadius = Animated.interpolateNode(anim, { inputRange: [-1, 0, 1], outputRange: [30, 0, 30], extrapolate: Extrapolate.CLAMP, }); const shadowOpacity = Animated.interpolateNode(anim, { inputRange: [-100, 0, 100], outputRange: [1, 0, 1], extrapolate: Extrapolate.CLAMP, }); return { backgroundColor: Colors.white, flex: 1, position: 'relative', borderTopLeftRadius: borderRadius, borderTopRightRadius: borderRadius, shadowColor: 'rgba(168, 179, 255, 0.4)', shadowOffset: { width: 0, height: -3, }, shadowRadius: 20, shadowOpacity, }; });

gracias de antemano

about 4 years ago · Juan Pablo Isaza
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!