If I make a scrollable list that starts from the top – you scroll DOWN to view more content – it works fine.
If I start it from the bottom – you scroll UP to view more content – it doesn’t work.
Hey Colm Roche - this could be a couple of things. Are you sure you've set the y position of your import "screen" layer group to 0? Otherwise, you may want to add some contentInset to the top of your ScrollComponent. :-) If you can share your project I can take a look for you as well.
Hi Benjamin Den Boer y position of 'screen' is at 0 in the sketch file. I've shared the project at: http://share.framerjs.com/2agn6oijv91i/ if you could have a look, that would be great.
Hey Colm Roche - ah, I see. Thanks for sharing the file! The thing is, you've positioned the feedContent layer from the bottom-up within Sketch. If you place it top-down instead, it'll grab the proper content height and position. (Notice how in Sketch the y position of your feedContent layer is roughly -1900. Setting this to 0 or 20 for a little padding solves your issues.) If you'd still like the content to start at the bottom, you can simply set the scrollY. :-) (scroll.scrollY = 1000)
Hi Benjamin Den Boer perfect – thanks for your help