question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Messages show from the top - strange behavior

See original GitHub issue

Hi i use RN v0.44 and gifted-chat v0.3.0 when i used the v0.2.7 i used that parameter:

listViewProps={{
                    removeClippedSubviews: false,
                    contentContainerStyle: { 'flexGrow': 1, 'justifyContent': 'flex-end' }
                }}

to show all the messages from the top and it looks perfect. After i upgrade to v0.3.0 i can see all the messages from the top but the height is in the size of the screen for example: If i have 2 messages i have “margin” or something between them and i see one message on the top and one message on the bottom, if i have 3 messages i have the same with another message in the middle, and so on…

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5

github_iconTop GitHub Comments

6reactions
theberbiecommented, Dec 10, 2017

a couple of workarounds: https://github.com/FaridSafi/react-native-gifted-chat/issues/599

The payload in my reducer is messages: action.payload.reverse(). It fixed the order

0reactions
stale[bot]commented, Feb 12, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Why is one contact at the top of text messages on iPhone
On my text message menu where all of the text messages can be seen...one of my contact icons is at the very top...
Read more >
Strange Behavior When Sorting Inbox by Received Ascending
I am experiencing some strange behavior when I sort the email messages in my Inbox by Received (ascending), in other words with the...
Read more >
Weird behavior with mission generated messages display ...
Since 2.8 certain messages appear halfway down my screen instead of the upper right corner where they usually are.
Read more >
What is smishing, and how can it be avoided? - Comparitech
“Smishing” is a portmanteau of “SMS phishing” or phishing that occurs through text messaging. While it's difficult to track the first incident ...
Read more >
Strange behavior of NVDA and Windows 10 at machine startup
On top of that, the "Ease of access" menu appears and NVDA starts ... Part of the described in my first message behavior...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found