Skip to content

Ng-repeated images appearing BEFORE flickity viewport. #91

Open
@dbarrett24

Description

@dbarrett24

I beleive I'm having a similar issue to the person in this StackOverflow link:

https://stackoverflow.com/questions/35107652/flickity-carousel-items-pushed-out-of-viewport-with-ng-repeat

I haven't found a solution.

I'm using a custom directive modal with a flickity carousel that will show videos/images.

Here is my site thus far:
dave-barrett.com

$scope.flickityOptions={
cellSelector: '.carousel-media-cell',
cellAlign: 'left',
pageDots: true,
// groupCells: 3,
adaptiveHeight: true,
imagesLoaded: true,
autoPlay: true,
contain: true
}

The array in the JSON looks like:
"files": [
"./images/videos/dayz-light-leaks.mp4",
"./images/screenshots/Basketbrawl.png",
"./images/screenshots/Basketbrawl-1.png",
"./images/screenshots/Basketbrawl-2.png",
"./images/screenshots/Basketbrawl3.png"
]

I get the images to load, but they appear outside of the flickity viewport.

Metadata

Metadata

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions