Hello,
I am trying to show/hide different text as the user scrolls. However, I noticed that when I scroll using the mouse scroll wheel, the entire text (e.g. txt2 in the codepen example) is not displayed. It shows partial text depending upon the amount of scroll. I understand this is how ScrollTrigger works, but how do I make sure that when the user scrolls, the entire text of 'txt2' or 'txt3' or 'txt4' is displayed at a time, not partial text. Ideally, I want to create the 'fade-in', 'fade-out' effect for each text variable i.e. txt2, txt3 etc.
Thanks,
Kiran