airbnb / infinity

UITableViews for the web (DEPRECATED)
http://airbnb.io/infinity/
Other
2.8k stars 281 forks source link

Support for listItems as 'cards'? #59

Open rejhgadellaa opened 8 years ago

rejhgadellaa commented 8 years ago

Hi,

It could be completely out of the scope of this project but I ran into an issue when using infinityjs with listItems that are floated left (like material design cards). It looks like infinity just takes the number of items and assumes they are all vertically stacked and thus, when two cards are displayed next to each other, the height of the listView is ~twice the height of that the actual content is.

Is it possible to handle this already (I may have missed something in the docs) and, if not, is this something that could be developed?