Tracking content inside a scrollContainer.
Hey all,
I’m kinda struggling a bit. I have 4 elements inside a scroll container. Let’s call them card01, card02, card03 and card04.
Now when I scroll, I want to track the position of card01 and move another element let’s name it tile01 to the same position. However tile01 is outside the scrollContainer.
What this in theory should do is having a scroll container below my tiles and my tiles tracking the cards instead of scrolling themselves.
Usually you would do detect ‘card1’.x and add a move tile1 to card1.x. But this won’t work as that value does not exist when inside a scroll container.