What are you trying to accomplish
I want to animate the close event for accordion items. However, the “Accordion item detail” components are removed from the DOM entirely as soon as the “close event” click occurs. How can I achieve this, and delay the component’s DOM removal until the animation has completed?
Note: I have already achieved animating the open event for accordion items by using the “Animate” tab in the visual editor with a “Scroll in view” trigger. Example below:
Screenshots or video link
Code stack you are integrating Builder with
react, Shopify