zyslife/react-native-head-tab-view

Cannot pull down to refresh the header like in the example

adriandiaz opened this issue · 1 comments

Describe the bug

Cannot pull down to refresh the header like in the example. I'm using CollapsibleHeaderTabView via 'react-native-tab-view-collapsible-header' with HFlatList. The header will scroll up, but it won't allow me to pull down. Does anyone know how to make the renderScrollHeader component refreshable?

Expected behavior

Package versions

  • React: 17.0.1
  • React Native: 0.64.2
  • React-Native-Gesture-Handler: 1.10.3

I was able to fix the above by providing the onStartRefresh and isRefreshing props to CollapsibleHeaderTabView