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.

The order in which images are rendered is not ordered

See original GitHub issue

Here is the screenshot: https://ibb.co/eEVsFF

const data = [
  {
    id: 3,
    uri: 'https://image.shutterstock.com/z/stock-photo-collage-of-happy-family-resting-at-home-103862393.jpg'
  },
  {
    id: 1,
    uri: 'https://s-media-cache-ak0.pinimg.com/736x/01/c0/1c/01c01c45cb997f16675c5a5825645ceb.jpg'
  },
  {
    id: 2,
    uri: 'https://i.ytimg.com/vi/tYBk4kLHPkk/maxresdefault.jpg'
  },

];

If this is the data, images are rendered in a single column.

Also the images are not ordered according to the array of data source.

Issue Analytics

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

github_iconTop GitHub Comments

3reactions
kmcgill88commented, Sep 3, 2017

I’m interested in this functionality and am looking forward to 0.3.0. I can try get it done if you’re looking for help.

0reactions
kmcgill88commented, Sep 5, 2017

@brh55 I’m actually taking a crack at it right now. I’m new to react-native so I’m struggling my way through.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Images sortable but not displayed in correct order
Hi, i just realized that the images are ordered by date added instead of the order you sort them in backend. Is there...
Read more >
[Android]Images are not displayed as the order they are selected
Actual behaviour. The images selected seems ordered by name. Here is the options: var options = { mediaType: mediaType, //<<= ...
Read more >
Some questions about the render order of the Uis in Unity3D
However, order of batches is still incorrect, as the text is rendered first no matter what is its order in hierarchy.
Read more >
order - CSS: Cascading Style Sheets - MDN Web Docs
The order CSS property sets the order to lay out an item in a flex or grid container. Items in a container are...
Read more >
Painter's algorithm - Wikipedia
The ordering used by the algorithm is called a 'depth order' and does not have to respect the numerical distances to the parts...
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