1

I am using React Transition Group to animate in/out some list items, example: https://codesandbox.io/s/43v5wj62q9?file=/styles.css

However I need to smoothly animate the list height whenever a list item is added/deleted, right now it just snaps to its intrinsic height without a smooth transition.

Is there a way to achieve this?

Sam
  • 375
  • 1
  • 5
  • 15
  • [this question and answer](https://stackoverflow.com/questions/29337045/how-to-animate-element-height-in-react-with-reactcsstransitiongroup) might be helpfull – Lars Jun 20 '22 at 15:48

0 Answers0