vue-carousel-3d icon indicating copy to clipboard operation
vue-carousel-3d copied to clipboard

Front image disappear

Open darreola opened this issue 5 years ago • 7 comments

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

darreola avatar Aug 11 '20 16:08 darreola

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

edmi1994 avatar Aug 15 '20 20:08 edmi1994

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

darreola avatar Aug 19 '20 21:08 darreola

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

edmi1994 avatar Aug 19 '20 23:08 edmi1994

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

darreola avatar Aug 21 '20 19:08 darreola

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>

edmi1994 avatar Sep 06 '20 18:09 edmi1994

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.

talkbear avatar Sep 16 '20 02:09 talkbear

@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}"

darreola avatar Sep 21 '20 21:09 darreola