facebook/react-native

ListView Grid Layout doesn't show full content

shadowpage opened this issue · 4 comments

In official UIExplorer example, Grid Layout only shows 11 cells while it has 100 cells:
1

I have to scroll down a little so the rest of the cells can be shown:
2

Hey shadowpage, thanks for reporting this issue!

React Native, as you've probably heard, is getting really popular and truth is we're getting a bit overwhelmed by the activity surrounding it. There are just too many issues for us to manage properly.

  • If this is a feature request or a bug that you would like to be fixed by the team, please report it on Product Pains. It has a ranking feature that lets us focus on the most important issues the community is experiencing.
  • If you don't know how to do something or not sure whether some behavior is expected or a bug, please ask on StackOverflow with the tag react-native or for more real time interactions, ask on Discord in the #react-native channel.
  • We welcome clear issues and PRs that are ready for in-depth discussion; thank you for your contributions!

Hi @shadowpage, please feel free to close this issue. There are a few bug reports regarding ListView that have a lot of discussion. :)
For example: #1831

All the best!

Hi @jaygarcia, it's not exactly the same issue with #1831, since grid layout works on 0.11rc (and older version).

I think listview wants to show 11 lines so it requests 11 cells because it believes there's only one cell per line. If it knows there're 3 cells per line it would request 33 cells then there would be no problem at all! :)

Hi there! This issue is being closed because it has been inactive for a while.

But don't worry, it will live on with ProductPains! Check out its new home: https://productpains.com/post/react-native/listview-grid-layout-doesnt-show-full-content

ProductPains helps the community prioritize the most important issues thanks to its voting feature.
It is easy to use - just login with GitHub.

Also, if this issue is a bug, please consider sending a PR with a fix.
We're a small team and rely on the community for bug fixes of issues that don't affect fb apps.