🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

react-native-collapsible-tab-view

Package Overview
Dependencies
Maintainers
2
Versions
97
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-collapsible-tab-view - npm Package Versions

1
57
10

4.0.0-rc.7

Diff
andrei.alecu
published 4.0.0-rc.7 •

Changelog

Source

4.0.0-rc.7 (2021-02-15)

Bug Fixes

  • indicator glitch because scrollX was being reset (#131) (49a1348)
andrei.alecu
published 4.0.0-rc.6 •

Changelog

Source

4.0.0-rc.6 (2021-02-14)

Bug Fixes

andrei.alecu
published 4.0.0-rc.5 •

Changelog

Source

4.0.0-rc.5 (2021-02-13)

Bug Fixes

  • iOS issues when header height is undefined (#126) (5b2711b)
andrei.alecu
published 4.0.0-rc.4 •

Changelog

Source

4.0.0-rc.4 (2021-02-13)

Bug Fixes

pedrobern
published 4.0.0-rc.3 •

Changelog

Source

4.0.0-rc.3 (2021-02-11)

Bug Fixes

  • switching lazy tabs sometimes jumps scroll position on ios (#120) (6c3e9fd)
pedrobern
published 4.0.0-rc.2 •

Changelog

Source

4.0.0-rc.2 (2021-02-10)

Bug Fixes

  • tab sync on ios when scrolling to the top (15ff5fc), closes #104
pedrobern
published 4.0.0-rc.1 •

Changelog

Source

4.0.0-rc.1 (2021-02-10)

Bug Fixes

  • 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
pedrobern
published 4.0.0-rc.0 •

Changelog

Source

4.0.0-rc.0 (2021-02-09)

Bug Fixes

  • 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)

Features

  • 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)

BREAKING CHANGES

  • 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.

Fixes: #88, #94, #98, #100

pedrobern
published 4.0.0-next.0 •

Changelog

Source

4.0.0-rc.0 (2021-02-09)

Bug Fixes

  • 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)

Features

  • 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)

BREAKING CHANGES

  • 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.

Fixes: #88, #94, #98, #100

pedrobern
published 3.8.0 •

Changelog

Source

3.8.0 (2021-02-09)

Features

  • add minHeaderHeight prop (0036da3), closes #95 #5
  • add tab item customization props in tab bar (fe4ac3c), closes #82