I have been following the CSS-tricks article on running Svelte transitions with spring, instead of the usual duration+easing methos. The final result shows spring applied on a transform transition, which is nice and well. But what I wish to achieve is a slide transition with spring – which I have not managed to implement (height/width calculations on containers is more tricky than simple transforms, as mentioned in the article). Can someone kindly suggest how to achieve it?
Asaf Agranat is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.