Skip to content
This repository has been archived by the owner on Nov 27, 2022. It is now read-only.

Releases: satya164/react-native-tab-view

v0.0.32

11 Oct 18:43
Compare
Choose a tag to compare

Breaking changes

  • <TabViewPage /> is deprecated. You should pass the same renderScene prop to <TabViewAnimated /> that you were passing to <TabViewPage /> earlier
  • If you were using a custom style interpolator for <TabViewPage />, you should just use a <Animated.View /> now and pass the style to it
  • The default styles for the pages already include width and translateX style. So if you're using a custom style interpolator, you need to change it to accommodate the already applied translation

New features and improvements

  • Add ability to use alternative pager components
  • Make tab press ripple effect borderless on Android
  • Add a hairline shadow below tabbar on iOS

Bug fixes

  • Render indicator below tab labels
  • Make sure tabs stay in sync with navigation state
  • Set tab label background to transparent

v0.0.31

05 Oct 01:27
Compare
Choose a tag to compare

Breaking changes

  • Rename onTabItemPress prop to onTabPress

New features

  • Add support for scrollable tab bar

Bug fixes

  • Only update layout if it changed (@ryankask)
  • Don't crash if there's only one tab
  • Decrease velocity threshold for swipe

v0.0.29

24 Sep 03:36
Compare
Choose a tag to compare

Breaking changes

  • Replace configureAnimation prop with configureTransition for <TabViewTransitioner />
  • Remove panHandlers prop from <TabViewPage />

New features

  • Add a swipeEnabled prop to <TabViewPage />
  • Add a onTabItemPress prop to <TabBar />
  • Add a renderBadge prop to <TabBar />
  • Add a shouldOptimizeUpdates prop to <TabViewTransitioner />

Bug fixes

  • Don't defer rendering of tabbars till onLayout

v0.0.28

13 Sep 23:38
Compare
Choose a tag to compare

Bug fixes

  • Allow swiping when approaching end of transition
  • Hide overflow in TabViewAnimated

v0.0.21

16 Aug 17:45
Compare
Choose a tag to compare

Bug fixes

  • Fixed an issue where interaction manager handle was not cleared

New features

  • Add a lazy prop to <TabViewAnimated /> to lazily load pages
  • Add a labelStyle prop to <TabBarTop />

v0.0.20

16 Aug 10:53
Compare
Choose a tag to compare

New features

  • Add a onChangePosition prop to <TabViewTransitioner />

v0.0.14

02 Jul 19:42
Compare
Choose a tag to compare

Breaking changes

  • TabViewPage.PanResponder.forSwipe was renamed to TabViewPage.PanResponder.forHorizontal
  • TabViewPage.StyleInterpolator.forSwipe was renamed to TabViewPage.StyleInterpolator.forHorizontal
  • TabViewPage.StyleInterpolator.forStatic was removed, use configureAnimation prop of <TabViewTransitioner /> instead
  • renderLabel prop for <TabBarTop /> can now only return React elements
  • <TabBarTop /> no longer accepts labelStyle, labelActiveStyle, labelInactiveStyle props, use renderLabel instead

New features

  • Added <TabBar /> component which can be used as a top or bottom tabbar
  • Added a renderIcon prop to <TabBarTop />
  • Added a configureAnimation prop to <TabViewTransitioner /> which can be used to customize or disable animations

v0.0.10

27 Jun 23:14
Compare
Choose a tag to compare

Breaking changes

  • rename scenes to routes
  • rename route.label to route.title
  • use a layout object instead of just width
  • rename updateIndex to jumpToIndex

Bug fixes

  • tweak logic to detect a swipe
  • don't jump beyond last slide

v0.0.9

27 Jun 23:15
Compare
Choose a tag to compare

Bug fixes

  • stop animation when gesture starts

New features

  • add a 'renderLabel' prop to