I’m creating the recipe box in the data visualization certificate so I’m struggling with animating the mount and unmount of the Modal that I have created using a Portal. Here is my code: https://codepen.io/manAbl/pen/eKYVpL?editors=0011 . For some reason now when I try to open my modal says: Error on span CSSTransitionGroup component You can try to add a recipe and check the console and see what I’m talking about.
What I want to achieve is the slideDown animation when the component appears and slideUp when disappear or gets unmounted. Any help will be highly appreciated