ScrollTrigger bases everything on the scroll positions. So the issue with nested pinned ScrollTriggers is that the positions reported are different than what they end up being (because of the pin). Thus you have to compensate for that.    If all you're doing is wanting to know when something enters and leaves the viewport then you can use an intersection observer. It pairs great with ScrollTrigger  
    • Like
    4