Skip to content

Releases: chubillkelvin/react-native-autoscroll-flatlist

v1.8.1

06 Feb 04:20
Compare
Choose a tag to compare

v1.8.0

05 Feb 04:50
Compare
Choose a tag to compare

Changes since v1.7.5:

  • Moved props description from README to index.tsx.
  • Renamed newMessageXXX to newItemXXX
  • Implemented newItemAlertMessage, newItemAlertContainerStyle, newItemAlertTextStyle and filteredDataForNewItemCount.

v1.7.5

30 Jan 16:21
Compare
Choose a tag to compare

This update mainly focuses on updating the methods for Flatlist.

  • Removed getMetrics.
  • Added getScrollableNode, getNativeScrollRef, and getScrollResponder.

v1.7.4

29 Jan 11:03
Compare
Choose a tag to compare

Added isAutoScrolling method to allow it to be called from ref to check whether it is in effect.

Also updated README to reflect the methods provided.

v1.7.3

22 Jan 09:52
Compare
Choose a tag to compare

Minor fixes in newMessageRenderer, changing translateY? to translateY.

v1.7.2

22 Jan 09:37
Compare
Choose a tag to compare
  • Added default background colour for scrollToEnd indicator and newMessageAlert indicator.
  • Now use animation for newMessageAlert appearance.
  • Updated newMessageAlertRenderer to supply translateY value.
  • The above change is backward compatible so you can still use newMessageAlert as-is, just that you will not see the animation without making use of translateY.

Example:

<Animated.View style={[styles.newMessageAlert, {transform: [{translateY}]}]}>
    ...your new message alert component here...
</Animated.View>

You can find out more by referring to private renderDefaultNewMessageAlertComponent method in src/index.tsx.

v1.7.1

20 Jan 07:09
Compare
Choose a tag to compare

Add exports for Triangle component to ease building custom newMessageAlertComponent & indicatorComponent.

For usage, please refer to the code base.

v1.7.0

20 Jan 06:28
Compare
Choose a tag to compare
  • Added support for showNewMessageAlert and newMessageAlertComponent.

  • Updated demo app and added new images for demo of features.

v1.6.4

17 Jan 10:40
Compare
Choose a tag to compare

Minor update on indicatorContainerStyle usage.

v1.6.2

17 Jan 07:20
Compare
Choose a tag to compare

Updates since last version:

  • Fixes dependencies to fixed versions, and update Typescript to 3.7.5.
  • Now supports horizontal flatlist.
  • Fixes a bug where the scrollToEnd indicator would show while autoscrolling
  • Now contentContainerStyle will completely override the default style.