Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Slides added after carousel is initialized cant be shown, altough rendered in html. #47

Open
sugoidesune opened this issue Mar 10, 2020 · 2 comments

Comments

@sugoidesune
Copy link

sugoidesune commented Mar 10, 2020

Slides added after initalization cant be navigated to.
The slide is in the html, but the slider only loops through the initial slides.
I assume i would need to also update the number of slides somehow?

<vue-glide-slide v-for="(slide, i) in slides" :key="i">{{slide}}</vue-glide-slide>
<button v-on:click="addCard()">Add Card</button>

...
addSlide(){
this.slides.push('Another Slide')
}
@sugoidesune sugoidesune changed the title Slides added after carousel is initialized cant be shown, altough renderen in html. Slides added after carousel is initialized cant be shown, altough rendered in html. Mar 10, 2020
@M-Barari
Copy link

M-Barari commented Jul 7, 2020

same here

@M-Barari
Copy link

M-Barari commented Nov 2, 2020

@sugoidesune , Dear friend, as I searched and talked to others with the same problem, right now the only solution is reloading it by changing key. read this issue and the doc mentioned in one of comments

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants