How do you make a scroll component locked so it can only scroll down? Essentially I want to remove the 'slack' or 'bounce' at the top of my scroll component.
On my phone and just guessing in the blue:If scroll.scrollY <=0 scroll.scroll = false
scroll.onScroll -> if scroll.scrollY > 0 scroll.scrollY = 0
Lukas yours definitely stops it from scrolling down initially but if i scroll up and then back down with some momentum, it still "tugs" a bit and shows the background before snapping the Y back to 0.
Thoughts on this?