Releases: oblador/react-native-collapsible
Releases · oblador/react-native-collapsible
v1.6.2
1.6.1
1.6.0
New functionality
- Support for rendering
Accordion
as aFlatList
for better performance of long lists by passing therenderAsFlatlist={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.
1.5.2
1.5.1
1.5.0
1.4.0
1.3.0
1.2.1
1.2.0
Features
Add enablePointerEvents prop to Collapsible 8222cf4 @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 8f79b3e @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.