Hello Ali,   I tinkered around with your code a bit, and I don't think any of what you are experiencing is related to GSAP but rather to the logic of how barba works and your code having some flaws with regard to that, the following being the biggest I think:   When both containers are in the DOM at the same time, they are not stacked above each other on the z-axis but rather like this       ...which you can test by logging out their .offsetTop first
    • Like
    3