Load earlier messages by pull
See original GitHub issueIssue Description
Now there’s a way to add load earlier button at the top of the messages list, or refresh list by passing onRefresh and refreshing
props to FlatList via listViewProps
.
In the second case refresh will be done on pulling list from the bottom to the top.
Is there a way to keep inverted FlatList, but load earlier messages by scroll to the earliest message loaded (at the very top of the list) and pull the list from the top to bottom and control list scroll to keep current earliest element at the place when earlier messages will be loaded?
Additional Information
- Nodejs version: 10.10.0
- React version: 16.6.1
- React Native version: 0.57.5
- react-native-gifted-chat version: 0.6.0
- Platform(s) (iOS, Android, or both?): both
Issue Analytics
- State:
- Created 5 years ago
- Comments:12 (1 by maintainers)
Top Results From Across the Web
How to Find (and Scroll to) Old Messages on Your iPhone
Go to the Messages app. Find the Search bar on the main screen with all the conversation threads. You may need to drag...
Read more >Having Trouble Loading Earlier Messages in React-native ...
I have been working on a chat app using Gifted-Chat and a Firebase RealTime database (and running it with Expo). At this point,...
Read more >Load Earlier Messages button in the Messages app - AppleVis
Thank you for your email. Older messages should be loaded automatically as you scroll through the message history. There is a setting which ......
Read more >How to Quickly Find Old Text Messages on iPhone ... - iMobie
Search Old Texts in Messages App ... 1. Open the Messages app and enter All Messages > Swipe down with your finger to...
Read more >How to Find Old Messages on iPhone Without Scrolling
Step 1- Launch the Messages App · Step 2 – Search by Word · Step 3 – Check Your Older Messages.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
onEndReachedThreshold is a value between 0 and 1.
This works for me perfectly:
indeed I’m facing to the same problem. Any idea ?