metafizzy / flickity

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

Prev/next button behaviour. #1303

Open narviii opened 3 months ago

narviii commented 3 months ago

It's not an issue/bug of a flickity, but something I struggle with(I can't recreate it in a reduced test case, and all the test cases seem to work fine).

I used Flickity to create a slider in Shopify. On my desktop Mac, when I click the next button, it first comes in focus(a blue ring appears around it), but no sliding occurs. Sliding occurs only on the second click.

So, basically, click—> nothing -> second click -> desired behaviour. This quirk is only on certain browsers(Mac Safari or Inspector mode in Chrome). Chrome on Windows doesn't have this quirk.

Literally pulled out my hair over this tiny thing. What can be the issue?

If someone wants to have a look, currently, I installed a slider on this shop. Main page, it says "featured products".

Heeelp!:)