Closed jakobsuckow closed 2 years ago
I'm interested too.
Not sure if I understand the issue exactly but see #228 or https://github.com/PedroBern/react-native-collapsible-tab-view/blob/main/example/src/AndroidSharedPullToRefresh.tsx
Unable to reveal header after adding RefreshControl
, on android allowHeaderOverscroll={true}
Reopen this issue until it is resolved.
<Tabs.Tab name="Photos">
<Tabs.ScrollView
onMomentumScrollEnd={() => {}}
showsVerticalScrollIndicator={false}
refreshControl={
<RefreshControl refreshing={refreshing} onRefresh={onRefresh} />
}
>
<PhotoTab
restInfo={restInfo}
language={language}
navigation={navigation}
/>
</Tabs.ScrollView>
</Tabs.Tab>
@azwinlam I want to add refresh on <Tabs.Container>
not inside tabs
<ScrollView
refreshControl={<RefreshControl ... />}
>
<Tabs.Container>
//.............
</Tabs.Container>
</ScrollView
It only refreshes not revealing the header
Hello, Is it currently possible to implement a refreshControl on the top level container so that I can pull to refresh within my flatlist inside the and it will pull to refresh at the top ? Basically, just like instagram does it.
This is my code: ` <Tabs.Container renderHeader={Header} headerHeight={HEADER_HEIGHT} headerContainerStyle={{ borderColor: "#000", shadowOpacity: 0, }} containerStyle={{ shadowOpacity: 0, borderBottomColor: "#000" }} renderTabBar={props => <MaterialTabBar {...props} />}>