You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So, the Spring component was updating a child with props.top to get a smooth scrolling. But I can't reproduce this result with the new useSpring api. What is the correct syntax?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi,
I've been using an outdated version of react-spring to animate a programmatic scroll.
The code used to be:
So, the
Spring
component was updating a child withprops.top
to get a smooth scrolling. But I can't reproduce this result with the newuseSpring
api. What is the correct syntax?Thank you very much!
Beta Was this translation helpful? Give feedback.
All reactions