Go Pro Sign Up Login
0 days 0 hrs 0 min 0 sec

Summer Sale

50% off Level Up Pro until you unsubscribe.
Get access to ALL 128 courses on Level Up Tutorials

This is your last chance to get Level Up Pro for $145/year.

or Learn More
Moon Moon

Buy Now and unlock this series

$

49

.99

$

24

.99

yours forever

Become a Pro and unlock everything

$

24

.99

per month

Interpolation Basics

Downloads

Become a pro to download code and videos

Comments

Mateusz

10 months ago

Hi, right now you shulde use to method instead interpolate

Kevin

over 2 years ago

Oh I'm sorry! Once again I thought I was in America

Jake

almost 3 years ago

@Pierrick I'm also interested in this issue if anybody knows the answer

Pierrick

about 3 years ago [edited]

That's super weird, the transform css property in the useSpring hook does not work this way: transform: isToggled ? translate3d(50px, -50px, 0) : translate3d(0, 0, 0)

But it does work the other way around: transform: isToggled ? translate3d(0, 0, 0) : translate3d(50px, -50px, 0)

But why? can't figure it out...would you have any ideas?

Thank you!

Libor

about 3 years ago

👍 great explanation... really helped me to understand it

Want to join the conversation?

Become a Pro member today!