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

MessageImage not rendered on ios #1953

Closed
amerzdralovic opened this issue Nov 9, 2020 · 2 comments
Closed

MessageImage not rendered on ios #1953

amerzdralovic opened this issue Nov 9, 2020 · 2 comments
Labels

Comments

@amerzdralovic
Copy link

amerzdralovic commented Nov 9, 2020

Issue Description

Attached image in the chat box is not rendered for iOS.

Steps to Reproduce / Code Snippets

I'm using renderMessageImage prop:

const renderMessageImage = (props: MessageImageProps) => {
return <AMessageImage {...props} imageStyle={{ borderRadius: 8, margin: 0 }} />;
};

Expected Results

It should display image thumbnail the same way it does on android.
ios: https://ibb.co/8xJ3Xm1
android: https://ibb.co/tbPKgV9

Additional Information

  • React version: 16.11.0
  • React Native version: 0.62.2
  • react-native-gifted-chat version: 0.16.3
  • Platform(s) (iOS, Android, or both?): iOS14
  • TypeScript version: 3.8.3
@amerzdralovic
Copy link
Author

Issue was related to iOS 14 and Xcode 12. Here is the patch to apply: facebook/react-native#29215 (comment)

@stale
Copy link

stale bot commented Dec 12, 2020

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 Dec 12, 2020
@stale stale bot closed this as completed Dec 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant