Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add renderAboveMessages prop #2288

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Myzel394
Copy link

@Myzel394 Myzel394 commented Oct 8, 2022

Sometimes you want to render something above the messages (Signal for example shows the avatar at the very beginning of a conversation). This is now possible with this PR.

@Myzel394
Copy link
Author

@FaridSafi Could you take a look at this?

murph added a commit to murph/react-native-gifted-chat that referenced this pull request Apr 26, 2023
@murph
Copy link

murph commented Apr 26, 2023

I think it might make sense to render this within the MessageContainer (so it's not always on screen, but you can scroll away from it) - if the intent is to more closely match something like Signal's style.

You can do this already by overloading "renderLoadEarlier" but that's not exactly clean / would conflict if you were already using that functionality.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants