PedroBern / react-native-collapsible-tab-view

A cross-platform Collapsible Tab View component for React Native
MIT License
830 stars 161 forks source link

Tabs.ScrollView Scroll is locked after initial viewport height is passed #216

Open jakobsuckow opened 2 years ago

jakobsuckow commented 2 years ago

Hello,

Firstly, Thanks for developing this awesome library.

Unfortunately, I am facing issues when adding the Tabs.ScrollView method.

` <Tabs.Container renderHeader={Header} headerHeight={HEADER_HEIGHT} headerContainerStyle={{ borderColor: "#000", shadowOpacity: 0, }} containerStyle={{ shadowOpacity: 0, backgroundColor: "#fff" }} onTabChange={() => Keyboard.dismiss()} renderTabBar={props => ( <MaterialTabBar {...props} labelStyle={{ fontFamily: "helvetica-neue", fontSize: 14, textTransform: "capitalize", }} indicatorStyle={{ backgroundColor: "#000", }} /> )}>

item.id} bounces={false} numColumns={2} // ListFooterComponent={() => Add} /> ` The first Tab (Gallery) works fine, however, with the second tab, the scroll is locked after passing the initial height of the viewport. So it does not scroll past the first 100% of screen size. Any tips ?