Connect with:
About Me
Alessandro Annini
I'm a freelance developer currently working at I really love framework and its amazing potential and if you're like me, and you want the web to win, please share some snippet of code for the community and grow faster with us
Meta Code | FlexibleLayout in a ScrollView

FlexibleLayout in a ScrollView

07 Jul FlexibleLayout in a ScrollView

You can’t use a FlexibleLayout to “sequenceFrom” in a ScrollView, because FlexibleLayout does not return a proper size. So the Scollview gets confused and does not know how to render properly.

If you wrap the FlexibleLayout in a Size modifier, and add the Size-modifier instead, everything works as it should.

To make this simple, I’ve created FlexibleRowLayout. It takes an additional “size” parameter so the Scrollview can render properly.

See demo & code here: