DRDD2016 / sparkn2

0 stars 1 forks source link

Add scrolling #35

Closed minaorangina closed 7 years ago

minaorangina commented 7 years ago

8

Currently none of the views scroll at all

rickardinho commented 7 years ago

You should be able to use the built-in ScrollView component. I had included this in a few of the screens if you need an example.

heron2014 commented 7 years ago

@rickardinho thanks for your comment. Unfortunately when we cloned your original code the scroll was already not working for us. We are going to debug soon.

rickardinho commented 7 years ago

The ScrollView was working in my simulator, so it could be because the parent container or child component must have a height defined (even flex:1 is valid). I found the ReactNative docs a bit hard to understand, but it says something to this affect there under the ScrollView docs. If you have made changes to the parent component (or router) this could have broken it. Check the style settings of the parent/child components.

minaorangina commented 7 years ago

This issue was moved to DRDD2016/native#27