React-native-tab-view: TabView inside a ScrollView.

Created on 11 Feb 2017  路  5Comments  路  Source: satya164/react-native-tab-view

I'm not able to see or scroll (when I try to give a fixed height at here in the ListViewExample) the content when using a TabView inside a ScrollView. How can I achive this feature. Is there any param I need to pass?

TopBarTextExample from ScrollViewsExample;
ListViewExample form ListViewExample;

<ScrollView style={{flex:1}}>
    <ImageSlider images={[
        'http://placeimg.com/640/480/any',
        'http://placeimg.com/640/480/any',
        'http://placeimg.com/640/480/any'
    ]}/>
    <TopBarTextExample/>
</ScrollView>

How to achive TabView inside a ScrollView. In here, I need to fade away the ImageSlider content when scrolling the TopBarTextExample, then again scrolling means should scroll the contents of TopBarTextExample.

Edit:

Also, how do I make <TabBar> content of <TopBarTextExample> sticky. Right now after the workaround #105, both child gets scrolled. I do want both child to scroll, but the <TopBar> to be sticky.

Most helpful comment

@nabeelvalapra I guess it's happening to you on Android (not on iOS).

If that's the case, check #105 for a workaround

All 5 comments

@nabeelvalapra I guess it's happening to you on Android (not on iOS).

If that's the case, check #105 for a workaround

@jbrodriguez Yea, the workaround worked. But any Idea on how to make<TabBar> content of <TopBarTextExample> static(floating).

@nabeelvalapra not really, I think I saw a similar question in one of the issues.

Check there or open another issue :)

It's just a React component. Figure out what you'd need to do if you wrote such a component and do the same thing.

same problem :anger: , could not be solved following many issues ..
I reproduced the problem here ,
any solutions ??
EDIT : SOLVED following this

Was this page helpful?
0 / 5 - 0 ratings

Related issues

itzsaga picture itzsaga  路  3Comments

AndriiUhryn picture AndriiUhryn  路  3Comments

ashusdn picture ashusdn  路  4Comments

KingAmo picture KingAmo  路  3Comments

QuentinBrosse picture QuentinBrosse  路  4Comments