Hi everyone!
There is a working script for scrolling news.
But the question is how to upload new news, or search for news, if I can not update ScrollTrigger? Trying ScrollTrigger.refresh(true), in documentation effect that I need, but in action I have nothing.
So when we click on the "View More"-button we adding new content to list then trigger ScrollTrigger.refresh(true), and scroll positioning should be recalculate, but it does it incorrectly, at the output we have that it does extra scrolling, and at the top we have not 0 but ~-2000px(depends to screen resolution)
Maybe I'm doing something wrong, maybe in the wrong sequence?
Maybe I'm missing something ..
Thank you very much in advance!