metafizzy / flickity

:leaves: Touch, responsive, flickable carousels
https://flickity.metafizzy.co
7.52k stars 605 forks source link

Flickity resets position on page scroll #924

Open nemish opened 5 years ago

nemish commented 5 years ago

Hey! I noticed really annoying bug. It can be reproduced only with mobile device, no emulator working there. Steps to reproduce:

  1. Take your iPhone or android smartphone
  2. Go to documentation freeScroll example https://flickity.metafizzy.co/options.html#freescroll
  3. Move slides a little bit out of their initial position.
  4. Scroll page a little bit up/down
  5. You'll see that slides jumped back to initial or next snapped position Screenshot 2019-03-27 at 13 59 55 Screenshot 2019-03-27 at 14 01 34
nemish commented 5 years ago

Devices which bug was noticed on are: Xiaomi A1 (android) and iPhone X (ios).

desandro commented 5 years ago

Thanks for reporting this issue. Add a 👍 reaction to this issue if you would like to see this bug fixed. Do not add +1 comments — They will be deleted.

intelligence commented 3 years ago

Here’s a video showcasing said bug. Is there some hack to avoid this issue in the mean time?

https://user-images.githubusercontent.com/756582/126231865-07c9f1f7-8007-40e0-9b20-16c03beccf99.MOV

kevingent commented 4 months ago

Was a solution ever found for this? I've got a slider that keeps bouncing back when I scroll on mobile as well. Similar to the video above.