Messages being sorted the other way around
See original GitHub issueIssue Description
Hello gents! So basically, I don’t know if this automatically does some sort of rendering, but if it does, I think it’s in the opposite direction ? Basically from the example, I would imagine that it sorts the messages descending by createdAt
prop ?
Please look at this picture: https://i.imgur.com/ARyOXFM.jpg Note the array I’m giving it in, with all the messages sorted ASC, ( from first being the oldest, to the last being the most recent )
The rendering happens in exactly the opposite way. Is this intended ? If so, why ?
Expected Results
Rendering should be done in the same order as the given array of messages.
Issue Analytics
- State:
- Created 6 years ago
- Comments:5
Top Results From Across the Web
Top 5 Ways to Fix Wrong Order of Messages in Samsung ...
1. Check Date and Time · 2. Force Stop the Messages App · 3. Reset Network Settings · 4. Clear Messages App Cache...
Read more >iphone - Messages no longer sorting by most recent message
Force Quit Messages app (Double-tap the home button and swipe the Messages app upwards). Launch Messages. Your messages should now be sorted by ......
Read more >Messages Out of Order on iPhone? Try This Solution | OSXDaily
First things first; realize that though the iMessages may appear out of order or as the wrong time, they aren't actually sent that...
Read more >Focused Inbox for Outlook - Microsoft Support
From your inbox, select the Focused or Other tab, and then right-click the message you want to move. If you're moving from Focused...
Read more >iMessage Out Of Order On iPhone? Here's The Real Fix!
Two Apple experts show you what to do when iMessage is out of order on your iPhone. Many people have been receiving 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
Using this to fix it:
<GiftedChat // ref={(ref) => setChatRef(ref)} messages={ allMessages.reverse() }/>
Wondering if anyone had actual answer as to why this is happening… I’m at latest version v0.8 and this issue persists.