metafizzy / metafizzy/flickity

draggable: false yet attempting to drag stops autoPlay

Open
#1,270 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
7.6k
Forks
593
PR merge metrics
No merged PRs in 30d

Description

I have a photo carousel, I want it to be purely decorative so I set `draggable: false` however when i try to drag it, the autoplay stops.

```js
var flky2 = new Flickity( '.photos', {
accessibility: false,
adaptiveHeight: false,
imagesLoaded: true,
autoPlay: 3000,
cellAlign: 'center',
cellSelector:'.photo',
draggable: false,
freeScroll: false,
groupCells: false,
initialIndex: 0,
pauseAutoPlayOnHover: false,
percentPosition: true,
prevNextButtons: false,
pageDots: false,
resize: true,
wrapAround: true,
lazyLoad: true
});
```

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the issue with the provided Flickity configuration, focusing on the interaction between draggable handling and autoplay. Trace the drag-start path and autoplay pause logic, then verify that attempting to drag while draggable is false does not stop autoplay.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.