Skip to content

Releases: zyslife/react-native-head-tab-view

v4.0.0-rc.2

26 Mar 17:44

Choose a tag to compare

  1. Fixed issue with onStartRefresh being called multiple times
  2. Fixed an issue where clicking on a Tabbar item would cause a lag

v4.0.0-rc.1

24 Mar 18:13

Choose a tag to compare

The version is in the stability tip.

  1. Fixed bug where you could not customize the refreshControl component.
  2. Fixed some display issues with the sliding head.
  3. Optimize some of the other experiences, and simply implement a drop-down refresh component, which you can see in ExamplescrollTrans.tsx

v4.0.0-rc.0

21 Mar 18:40

Choose a tag to compare

🎉🎉🎉 v4.0.0-rc.0 has been released, I hope you can help me test and collect questions.
In this version, there is a big change. All animations will run on the UI thread, which will make the components much smoother. Unfortunately, the version requiring React Native is greater than 0.62.2. Because we rely on react-native-reanimated2.0, that's what it requires.

Here are some changes and optimizations.
Disruptive Changes:

  • Remove makeHeaderHeight and change it to headerHeight

It's not mandatory, but it would be nice if you did

  • Removed SlideAnimated mode

this mode was used for ScrollView/FlatList scrolling stalling when dragging headers, no longer needed.

  • Remove the scene's refreshHeight property

Both the TabView and Scene used to have the refreshHeight property. Now I think they are duplicate, just set refreshHeight on the TabView, its default value is 80

  • The usage of HPageViewHoc has changed
# Past usage:
import { HPageViewHoc } from 'react-native-head-tab-view'
const HScrollView = HPageViewHoc(ScrollView)
const HFlatList = HPageViewHoc(FlatList)
const HSectionList = HPageViewHoc(SectionList)
# Current usage
import { HScrollView,HFlatList,HSectionList } from 'react-native-head-tab-view'

v3.0.4

11 Mar 08:19

Choose a tag to compare

Fixed dropdown refresh when scrollHeader height is 0.
Add field pullExtendedCoefficient.

v3.0.3

10 Mar 03:53

Choose a tag to compare

Fixed an issue with Android's Touchable not working