Hey Framers! How can I keep the user's scroll position on a scroll component? Thanks
The scrollX and scrollY properties of a scrollComponent are both getters and setters.
This is what I have:
titlesscroll = new ScrollComponent parent: filterbox width: 755 height: 1000 y: 96titlesscroll.scrollHorizontal = falsetitlesscroll.scrollVertical = truetitlesscroll.content.scrollY = 5000
titlescontainer = new Layer parent: titlesscroll.content width: 755 backgroundColor: null height: 1000
I've added a bigger value to scrollY but it keeps bouncing back
can u explain again what u r trying to achieve here ?
and maybe it's not working because the content scrollY u set is bigger than the scrollcomponents height
Yeah, just adjusted the size and worked! Thanks 🙏🏻