Hey guys,
I have a problem with the iron-list component.
I already posted a question on stackoverflow
<http://stackoverflow.com/questions/41609733/iron-list-with-grid-attribute-only-shows-one-item-per-row>,
but nobody could help me there so far.
My problem is that when I add the 'grid' - attribute to the iron-list
element the items still are each in one column.
I broke my example test code even further down into this:
<body>
<p>test test test</p>
<div style="height: 500px;">
<iron-list id="list" items='[{"name": "test"},{"name": "test"},{"name":
"test"},{"name": "test"},{"name": "test"},{"name": "test"},{"name":
"test"},{"name": "test"},
{"name": "test"},{"name":
"test"},{"name": "test"},{"name": "test"},{"name": "test"},{"name":
"test"},{"name": "test"},{"name": "test"},
{"name": "test"},{"name":
"test"},{"name": "test"},{"name": "test"},{"name": "test"},{"name":
"test"},{"name": "test"},{"name": "test"},
{"name": "test"},{"name":
"test"},{"name": "test"},{"name": "test"},{"name": "test"},{"name":
"test"},{"name": "test"},{"name": "test"},
{"name": "test"},{"name":
"test"},{"name": "test"},{"name": "test"}]' style="height: 100%;" grid>
<template>
<div style="width: 100px; height: 100px;"> 100x100 </div>
</template>
</iron-list>
</div>
</body>
What am I doing wrong?
Follow Polymer on Google+: plus.google.com/107187849809354688692
---
You received this message because you are subscribed to the Google Groups
"Polymer" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/polymer-dev/d603c1af-0410-4142-adcb-514a1a0e61a1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.