Closed rising-dot closed 2 years ago
yup i plus 1 this was working fine with wrapping but not its not
same issues, :wrap-around="true"
will make translateX and show blank.
currently my temporary solution is:
onMounted(() => {
setTimeout(() => {
document.getElementsByClassName('carousel__track')[0].style.transform = 'translateX(0px)'
}, 0)
})
Related to #100 (fixed in #103)
When I am using
:autoplay :wrap-around="true"
the slider will have a delay and will not show up at all. All I see is a blank page and it will show up about 2 sec.When I remove the
:autoplay
from the code I can see that thetransform: translateX(564px);
start at 564px.So I am thinking that the bug is at the transform: translateX and it need to start at 0px or am I doing something wrong ? Because the slider need to display the images right away and not wait for the autoplay timer first.