react-pose delay the pose group height transition until after children
问题 const Item = posed.div({ enter: {x: 0, opacity: 1}, exit: {x: 1000, opacity: 0} }); <PoseGroup> <Item key={whatever}></Item> </PoseGroup> Currently when I remove an item from the list, the pose group div gets shorter and the item slides out at the same time. How do I tell the pose group to wait until item has finished animating before updating the height of the pose group? To delay an Item, you add delay to the config, but how do I delay a pose group? 回答1: The issue you're facing is that the