Having a lot of trouble with collection-repeat inside a slide-box.
I have a slide box that performs a search query and then populates a large list of images in a grid. Currently using ng-repeat but I’m having really bad performance (and crashes). i thought collection repeat would be a good option, but I’m really having a hard time making it work. A couple of issues:
I understand that dynamic item heights are not advisable, as seen in multiple threads on the forum. However, what I really don’t understand is how you set the height of the item to flow nicely on different screen sizes and at least be responsive to different screen orientations. When I set the item-width, For instance, I’d like to set the item-height to some proportion of the width (for instance 1.0 to create square items). Is that possible?
What is the best way to structure the HTML within the ion-slide? wrap the collection-repeat in an ion-content? That’s what I’m doing now.