8.0.0 (2024-07-05)
- hooks, container: perf: avoid reading .value outside worklet (08a1c51)
- hooks, container: headerHeight, tabBarHeight, containerHeight, and contentInset are no longer SharedValues.
If you consume useHeaderMeasurements and/or useTabsContext expect this to impact you.
7.0.1 (2024-04-15)
7.0.0 (2024-04-04)
- update dependencies (eb8b645)
- Peer dependency changed to reanimated 3.8.1
6.2.2 (2024-04-03)
- lazy FlashList scroll sync issue (1b89ec7)
6.2.1 (2023-08-10)
- recycling and re-rendering issues (f1cbbc8)
6.2.0 (2023-08-01)
- Tabs.MasonryFlashList (85f960d)
6.1.4 (2023-04-27)
- pass actual FlashList ref to consumer (bb019c4)
6.1.3 (2023-04-27)
- remove console.log (668e1ba)
6.1.2 (2023-04-27)
- scroll restoration when using Lazy (7c0ec48)
6.1.1 (2023-04-22)
6.1.0 (2023-04-21)
- collapsible-style: update min header height example (aff6c60)
- collapsible-style: use minHeaderHeight when calculating the iOS min height (bd373ac)
6.0.1 (2023-03-04)
- updated readme
6.0.0 (2023-03-04)
- lazy loading glitch with reanimated 3 (de032e9)
- reanimated v3 compatibility (f2e0f21)
- This version is only compatible with reanimated >= 3.0.1
6.0.0-rc.0 (2023-03-04)
- reanimated v3 compatibility (f2e0f21)
- This version is only compatible with reanimated >= 3.0.1
5.0.0 (2022-06-29)
- snap using animated reaction scroll (5f11c61)
- prevent typescript error for conditional tabs (749c27b)
- initial scroll position sometimes wrong on iOS (e349941)
- initial scroll position if starting with undefined header height (9378af6)
- bring back pagerProps (2137bbd)
- ios: scroll sync issues between tabs (14dfc79)
- custom label component (51a7234)
keepActiveTabCentered
property on scrollable MaterialTabBar to keep tab in the center (6d35e31)useCurrentTabScrollY
(73ee5d7)
- remove obsolete HeaderComponent and FooterComponent (cb2cb04)
- use
renderHeader
andrenderTabBar
instead of HeaderComponent and FooterComponent - a peer dependency on
react-native-pager-view@5
is now required useHeaderMeasurements
now returns theheight
as anAnimated.SharedValue
4.5.2 (2022-01-15)
4.5.1 (2022-01-15)
4.5.0 (2022-01-15)
4.4.0 (2021-11-04)
4.3.0 (2021-10-03)
- lint and typescript errors (dc5fd39)
- tab indicator did not work correctly in RTL mode (#193) (243848d)
4.2.1 (2021-07-28)
4.2.0 (2021-05-28)
- support custom refresh control component (273e0e7)
4.0.1 (2021-02-25)
4.0.0 (2021-02-18)
- expose hooks (06e693c)
4.0.0-rc.11 (2021-02-18)
4.0.0-rc.10 (2021-02-17)
4.0.0-rc.9 (2021-02-16)
4.0.0-rc.8 (2021-02-15)
4.0.0-rc.7 (2021-02-15)
4.0.0-rc.6 (2021-02-14)
4.0.0-rc.5 (2021-02-13)
4.0.0-rc.4 (2021-02-13)
4.0.0-rc.3 (2021-02-11)
4.0.0-rc.2 (2021-02-10)
4.0.0-rc.1 (2021-02-10)
- conditional dynamic tabs (51bf7cf), closes #102
- content inset broken on react native (040e5c8), closes #113
- ensure top line (1px) is visible on iOS (#112) (d832baf)
- exclude documentation from library build (6826aa0), closes #105
4.0.0-rc.0 (2021-02-09)
- add isGliding back + interpolate scrollYCurrent only in iOS (80a5690)
- add null check (fb3b1b2)
- attempt at fixing lazy sometimes opening with 0 opacity (264cf00)
- bug when removing dynamic tab (d9c27a5)
- cancel snapping animations on drag (63fa2dc)
- contentHeight should've been a map (321fa34)
- diffclamp snap threshold (356cdbf)
- don't bounce pager on ios (fb49a97)
- ensure callers can't override onScroll (8421c65)
- handle ios overscroll (72b4e54)
- infinite loop (f6a2f69)
- initial lazy position on ios (56789c1)
- ios refresh control (c09a3e8)
- lazy (b383af9)
- memoize tabbar in example so it doesn't flicker (eeb94cc)
- minor tabbar tweaks (b0cdcff)
- navigation bar zindex on ios (9fa6958)
- opacity stuck as 0 on lazy tab (sometimes) (8cfc596)
- prevent scrolling to top (1db8e4e)
- rework refs to fix scroll sync (ec513cd)
- sticky header edge case on android (7569a52)
- stop animated scroll on snap (72e87ac)
- sync scroll position on dynamic tabs (4c9cfce)
- usederivedvalue for tabnames value (92f22de)
- add sanity check (duplicate tabs not allowed) (5e18678)
- allow callers to still hook into certain events we're also handling (6f32f1c)
- dynamic tabbar (f4ebdfe)
- dynamic tabs (2884bba)
- forward flatlist and scrollview refs (749cfbe)
- rename onIndexChange to onTabChange and add onIndexChange(number) (c02c88a)
- createCollapsibleTabs() no longer exists. Instead the library exports different components (Container, Tab, ScrollView, ListView) which can be nested like normal react components.
- refMap no longer exists, and creating refs is no longer necessary (it's all handled internally)
- ScrollView/FlatList now forward their refs, so the caller can just tap into their ref prop
- the existing onIndexChange was renamed to onTabChange, and a separate onIndexChange was implemented that just returns the new index (as a number)
- diffClampEnabled was changed to revealHeaderOnScroll
- redundant prop snapEnabled was removed, instead snapThreshold is number | null | undefined. If not a number, then snap is not enabled. Setting it to 0.5 will result in snapping in the middle, like in the previous version.
3.8.0 (2021-02-09)
- add minHeaderHeight prop (0036da3), closes #95 #5
- add tab item customization props in tab bar (fe4ac3c), closes #82
3.7.1 (2021-02-01)
- ensure correct tab label ordering (1c2e65e), closes #77
- handle scroll to top ios (d96f2e2), closes #66
3.7.0 (2021-01-30)
- add missing tabbar style prop and improve typing (826966d), closes #64
- change keyExtactor to use index and to be useCallback (95be6c2)
- ensure children is not undefined (bd4f0e2), closes #68 #72
- add imperactive ref handler (a6c20fe), closes #71
- add onIndexChange prop (15a516c), closes #71
- export useCollapsibleStyle hook (dde28fe)
3.6.3 (2021-01-30)
- optimize useAnimatedReaction (9b5b0a9)
3.6.2 (2021-01-30)
- start with correct calculateNextOffset.value (fb405f7)
3.6.1 (2021-01-29)
- prevent diffclamp not syncing on tab press (1ec9dcd)
3.6.0 (2021-01-29)
- add tab name context, remove name prop from scrollable components (c5166d2)
3.5.0 (2021-01-27)
- correct typo "cancelLazyFazeIn" (2b8b194)
- fix diffClamp tabs sync (304e8cc)
- prevent not syncing on tab item press and momentum scrolling (5c5ff49)
- add initialTabName prop (7166592)
3.4.0 (2021-01-26)
3.3.1 (2021-01-26)
3.3.0 (2021-01-26)
- scroll to correct position after window resizing (02da5a9)
3.2.1 (2021-01-25)
- replace Dimensions by useWindowDimensions (d21b4b5)
3.2.0 (2021-01-25)
3.1.0 (2021-01-24)
- add scrollX to context (3f3b829)
3.0.1 (2021-01-23)
- prevent rerenders on layout (2e3aceb)
3.0.0 (2021-01-22)
- remove react-native-tab-view
v3 has nothing backward compatible, it's a completely new API.
2.0.2 (2021-01-14)
- correct tabbar height (483ffcd)
2.0.1 (2021-01-14)
2.0.0 (2021-01-05)
- pass isGliding ref instead of isGliding.current
Migration: use isGliding.current instead of isGliding inside your custom renderTabBar function
1.5.0 (2020-12-29)
1.4.2 (2020-12-15)
- deps: remove peerDependenciesMeta field (a681d0a)
1.4.1 (2020-12-09)
- export createContext helper (24a1185)
1.4.0 (2020-12-07)
- prevent iOS infinite loop(e1d9db2)
- add
snapTimeout
(3c476ca)
1.3.1 (2020-12-04)
1.3.0 (2020-12-04)
1.2.0 (2020-12-02)
1.1.3 (2020-12-02)
- remove minHeight from contentContainerStyle (fa0e2ed), closes #8
- snapping when momentum scrolling (887b0d9)
1.1.2 (2020-11-30)
1.1.1 (2020-11-20)
1.1.0 (2020-11-20)
- progressViewOffset in useCollapsibleScene (13c444d)
1.0.3 (2020-11-20)
- expo app (e1e4807)
1.0.2 (2020-11-19)
1.0.1 (2020-11-19)
1.0.0 (2020-11-19)
- add collapsible tab view (ac0696b)