Releases: chubillkelvin/react-native-autoscroll-flatlist
v1.8.1
Bug fix: Pull Request #1.
v1.8.0
Changes since v1.7.5:
- Moved props description from README to index.tsx.
- Renamed
newMessageXXX
tonewItemXXX
- Implemented
newItemAlertMessage
,newItemAlertContainerStyle
,newItemAlertTextStyle
andfilteredDataForNewItemCount
.
v1.7.5
This update mainly focuses on updating the methods for Flatlist.
- Removed
getMetrics
. - Added
getScrollableNode
,getNativeScrollRef
, andgetScrollResponder
.
v1.7.4
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
Minor fixes in newMessageRenderer
, changing translateY?
to translateY
.
v1.7.2
- Added default background colour for scrollToEnd indicator and newMessageAlert indicator.
- Now use animation for
newMessageAlert
appearance. - Updated
newMessageAlertRenderer
to supplytranslateY
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 oftranslateY
.
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
Add exports for Triangle component to ease building custom newMessageAlertComponent
& indicatorComponent
.
For usage, please refer to the code base.
v1.7.0
-
Added support for
showNewMessageAlert
andnewMessageAlertComponent
. -
Updated demo app and added new images for demo of features.
v1.6.4
Minor update on indicatorContainerStyle
usage.
v1.6.2
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.