SSENSE/vue-carousel

Bug: When items are loaded asynchronously the carousel starts at the last pagination dot

Open

#188 opened on Apr 24, 2018

View on GitHub
 (9 comments) (2 reactions) (0 assignees)JavaScript (513 forks)batch import
buggood first issuehelp wanted

Repository metrics

Stars
 (1,705 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

If you add in the slides with a v-for and get the data inside those async, like for example an AJAX request then the pagination starts at the last dot.

Here's a JSFiddle to illustrate it https://jsfiddle.net/mor7m8s8/1/

I've used a set timeout to simulate the delay but it occurs just the same with an AJAX request.

Contributor guide