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.

Tile component issues with latest react 0.50.0

See original GitHub issue

Description

  1. Explain what you did
  2. What you expected to happen
  3. What actually happens

Also please include the version of react-native-elements that you are using.

Reproduction Steps and Sample Code

We highly recommend that you try to reproduce your bug on https://snack.expo.io/ and provide a link.

If you can’t reproduce the bug on Snack, provide an example of your code and briefly explain what the code is suppose to be doing.

Solution

Can you suggest a possible fix that would address this issue? Ideally, you should be able to submit a PR to fix it. See our contributing guide for more details.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:14 (1 by maintainers)

github_iconTop GitHub Comments

18reactions
iRoachiecommented, Nov 11, 2017

Good catch. I simple PR replacing Image with ImageBackground will fix this.

8reactions
fossecodecommented, Nov 17, 2017

<Image> with nested content is no longer supported. Looking into <ImageBackground> instead if this is something you did in our app

https://github.com/facebook/react-native/releases/tag/v0.50.0

Read more comments on GitHub >

github_iconTop Results From Across the Web

"The <Image> component cannot contain children " in React ...
Trying to load multiple images in a React-Native app. However, the app crashes with the error: Error: The component cannot contain children. If ......
Read more >
How to Upgrade to React 18
This fixes an issue which prevented component libraries from correctly measuring layout when used with Suspense. New JS Environment Requirements ...
Read more >
Tile – Carbon Design System
Tiles are a flexible component for displaying a wide variety of content, including informational, getting started, how-to, next steps, and more.
Read more >
react-native-svg - npm
react -native-svg provides SVG support to React Native on iOS, Android, macOS, Windows, and a compatibility layer for the web.
Read more >
When does React re-render components? - Felix Gerschau
Why doesn't my React component update when its props change? ... all the React.memo functions in the world won't help you to fix...
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