react native - ReactNative ScrollView will not scroll to the bottom -
if try scroll bottom of scrollview, bounces default position , won't let me view entirety of content.
my ( truncated ) setup simple :
<view> <view> <abunchofstuff /> </view> <view style={styles.sectionnode} > <abunchofstuff /> </view> <scrollview> <------ broken scrollview :( <view> <abunchofstuff /> </view> </scrollview> </view> this simplified version of actual code. i'm reaching conclusion there's kind of "unbounded height" going on as in reference.
i did try making sure , parents have flex: 1 way child <view> of <scrollview> , parents. didn't seem trick.
any idea on how debug this? know reactnative's website recommends , says easy in inspector ( no instructions on how ). if assumption there's "unbounded height" issue, how 1 go , find rascal unbounded node? or else?
the bounded height thingy means scrollview must bound. if scrollview has unbounded height, stretch content , won't scroll.
you can add height scrollview , see how works, there on can use absolute height or use flex in way limit scrollview height want.
Comments
Post a Comment