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

Front image disappear #155

Open
darreola opened this issue Aug 11, 2020 · 7 comments
Open

Front image disappear #155

darreola opened this issue Aug 11, 2020 · 7 comments

Comments

@darreola
Copy link

For some reason when i move the mouse fast over the carousel when is sliding the front image disappear

@edmi1994
Copy link

hello maybe you found the solution? The same thing happens to me with dynamic slides

@darreola
Copy link
Author

Seem like transform: none !important; from .carousel-3d-slide.current is the problem i change to transform: translateX(0) translateZ(0) rotateY(0deg); and seems to be working now

@edmi1994
Copy link

in my case when loading the page the current one does not show maybe you can give me a hand?

@darreola
Copy link
Author

I don't know if can help you maybe u share some of your code

@edmi1994
Copy link

edmi1994 commented Sep 6, 2020

Hello, this is my code, it happens that when I load the page for the first time I realize with the inspector the first slide does not have the current class and that is why it does not appear, I have to interact so that the current class appears and appears}
<carousel-3d :width="200" :height="300" :space="300" :controls-visible="true" :display="5" :count="periodicos.length"> <template v-for="(periodico, index) in periodicos"> <slide :key="periodico.id" :index="index"> <b-button class="boton-slide" @click="abrir_flipbook(periodico.imagenes)"> <img class="imagen-miniatura" :src="url+periodico.portada[0].url" :alt="url+periodico.portada[0].url"> </b-button> </slide> </template> </carousel-3d>

@talkbear
Copy link

talkbear commented Sep 16, 2020

Seem like transform: none !important; from .carousel-3d-slide.current is the problem i change to transform: translateX(0) translateZ(0) rotateY(0deg); and seems to be working now

it works for me too, thanks.

@darreola
Copy link
Author

@edmi1994 maybe is the way you populate periodicos, sometimes i add a flag to do not render the component until the data is mounted or populate. Other idea is pass your own class to <slide with :class="{classNeeded:forceCondition}"

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

3 participants