I just started using aos lately in react and i noticed this problem. i tried implementing the solutions that are in this thread and they both worked but there's a slight problem in the first solution (adding the inline style attribute) is the data-aos-delay
dosen't work, the best solution that makes everything work is wrapping everything in a span or div element and applying the aos animation only on it.