drewjbartlett / vue-flickity

A Vue Slider / Carousel Component for Flickity.js
http://drewjbartlett.com/demos/vue-flickity/
374 stars 55 forks source link

Flickity doesn't swipe on mobile chrome when using via npm package #10

Closed exophunk closed 7 years ago

exophunk commented 7 years ago

I have troubles make flickity work when using as a npm package . It is likely related to the build process with laravel-mix, webpack and bubel transpiler.

Touch Swiping stops working on mobile chrome (and chrome dev simulator), but only with the mentioned build process.

I asked about it here: https://github.com/metafizzy/flickity/issues/540

Does anyone experience similar issues with a similiar build process?

Creativenauts commented 7 years ago

@exophunk

I too just noticed the same issue on a site I have in development.

Adding this to my CSS has helped combat the issue for me.

touch-action: manipulation;

exophunk commented 7 years ago

@DerekBess where did you add this css property to? The flickity container? the inner carousel elements?

pgerochi commented 7 years ago

Any news on this?

drewjbartlett commented 7 years ago

Is this a flickity issue or an issue with the vue component? This component is only a wrapper on top of flickity.

jmharveys commented 7 years ago

it's a Flickity issue.

drewjbartlett commented 7 years ago

Closing this since it's the wrong place for this