flickity
flickity copied to clipboard
Select cell does not prevent freeScroll
Hi! So I was playing around with the freeScroll and friction when I noticed that if I am using my own buttons for select (not the page dots) and horizontally dragging the slider and releasing, the buttons will not trigger a new cell during animation. The only way to trigger is by waiting for animation to finish and then trigger the event again.
So, the problem seems to be that there is no stop animation on custom elements, e.g. when using .select or .selectCell Is this possible to be fixed? Is this an issue? Take a look at my codePen. Hopefully you understand my explanation.
Test case: https://codepen.io/brandflugan/pen/eoYyJv
Things I noticed in your pen
- When I gently drag the images towards the last one the indicator jumps from the 6th to the last one no matter how slowly I move...
- When I start a dragging motion (i.e. free scroll) and then press one of your buttons while the scrolling is still happening, nothing happens. I'm guessing this is what you mean above?
Things I noticed in your pen
- When I gently drag the images towards the last one the indicator jumps from the 6th to the last one no matter how slowly I move...
Yes, that is also an issue
- When I start a dragging motion (i.e. free scroll) and then press one of your buttons while the scrolling is still happening, nothing happens. I'm guessing this is what you mean above? *
Yes this is it! Thanks for explaining in a more user friendly way :)
Thanks for reporting this issue. Yeah, this is definitely a bug. Please Add a 👍 reaction to this issue if you ran into this bug and would like to see it fixed. Do not add +1 comments — They will be deleted.