phucbm / flickity-responsive

💻📱Responsive option for Flickity.
https://flickity.netlify.app
MIT License
7 stars 0 forks source link

No issue #15

Closed blursolo closed 1 year ago

blursolo commented 1 year ago

It's a great library, thank you!

blursolo commented 1 year ago

oh, actually there is an issue in version >= 2.0.3: When draggable and wrapAround are both enabled, it's not possible to drag infinitely. The problem doesn't occur in version <= 2.0.2.

this.flkty = new FlickityResponsive( slideshow, {
    cellAlign: 'left',
    prevNextButtons: false,
    pageDots: true,
    wrapAround: true,   
    autoPlay: false,
    draggable: true,
    selectedAttraction: 0.013,
    friction: 0.26,
    dragThreshold: 1,
    adaptiveHeight: true,
    imagesLoaded:true,
    responsive: [{
        breakpoint: 768,
        settings: {
            draggable: true
        }
        }]  
});
phucbm commented 1 year ago

Hi, could you check this out in the v2.0.6 release?

Seems to be fixed.

blursolo commented 1 year ago

It seems to work, yes. Thank you