React Native Collapsible Versions Save

Animated collapsible component for React Native, good for accordions, toggles etc

v1.6.1

1 year ago
  • React 18 type support

v1.6.0

3 years ago

New functionality

  • Support for rendering Accordion as a FlatList for better performance of long lists by passing the renderAsFlatlist={true}.
  • Ability to only render content when visible by passing the renderChildrenCollapsed={false}
  • Improved accessibility

Fixes

  • Prevent re-layout during animation for smoother animations.
  • Remove prop types for better web support.
  • Fix crash on Android when height was undefined.

v1.5.2

4 years ago

Fixes

  • Fix useNativeDriver was not specified warning in RN 0.62

v1.5.1

4 years ago

Fixes

v1.5.0

4 years ago

Features

Fixes

v1.4.0

5 years ago

v1.2.0

5 years ago

Features

Add enablePointerEvents prop to Collapsible https://github.com/oblador/react-native-collapsible/commit/8222cf4d93d8542209d755b8e447a67d8b7fd1e0 @okb1100

By default, the collapsible disables touch events while collapsing to prevent touches while the animation is closing or opening. Some persons expressed a need to override this behaviour.

Fixes

Handle collapsible unmount during animation https://github.com/oblador/react-native-collapsible/commit/8f79b3e0ad4ac763aea12e4f68779b23ebfb7b41 @slorber

While during the collapse animation a user might navigate away from the screen and inadvertently unmount the component. However, the animation will still complete and attempt to setState. This would throw a warning that you shouldn't update an unmounted component.

Other

v1.1.0

5 years ago