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

Empty MessageContainer on Android #486

Closed
jsoendermann opened this issue Jun 20, 2017 · 7 comments
Closed

Empty MessageContainer on Android #486

jsoendermann opened this issue Jun 20, 2017 · 7 comments

Comments

@jsoendermann
Copy link

Issue Description

If I run the example code from the readme (not the advanced example), it works fine on iOS but on Android, none of the Bubbles get displayed.

Steps to Reproduce / Code Snippets

Run the example

Expected Results

Message Bubbles should appear.

Additional Information

  • React Native version: 0.45.1
  • react-native-gifted-chat version: 0.14.1
  • Platform(s) (Android): 7.0
@jsoendermann
Copy link
Author

Ok, I've tracked the problem down to the InvertibleScrollView that's used in the MessageContainer. If I comment out renderScrollComponent={this.renderScrollComponent} at the bottom of MessageContainer.js, the messages show up, albeit at the top of the View.

@bartolkaruza
Copy link

Hi, the issue is with the inversion used by the https://github.com/expo/react-native-invertible-scroll-view library, caused by an underlying RN issue, which should be fixed in some upcoming React Native release; facebook/react-native#14646

If you need a quick fix now, you can point the dependency for react-native-invertible-scroll-view to "immidi/react-native-invertible-scroll-view#feature/perspective-fix".

@brunocascio
Copy link
Collaborator

@jsoendermann Could you test again with the latest version published today? (v0.2.8)

@jsoendermann
Copy link
Author

Hi @brunocascio, it still doesn't seem to be working for me unless I use @bartolkaruza's fix.

@brunocascio
Copy link
Collaborator

Hi @jsoendermann. I'll be looking at that PR. However, I labeled this issue as a bug.

Thanks for your feedback!

@bartolkaruza
Copy link

Hi a fix in the underlying animation view logic on Android has been released as part of React Native 0.49.x This issue should be fixed by upgrading your RN version to 0.49 or higher

@stale
Copy link

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.

@stale stale bot added the wontfix label Feb 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants