New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Gallery images skipped in iOS #447
Comments
Are you using your own buttons with on("click")? If so, then you need to |
No we're using the default ones, but we might switch to our own in order to make things work as intended. Still probably needs fixing though. |
Strange. I've not had a problem using Magnific on iOS. If you posted a link |
A'ight so the page that's having the problem would be this one: http://thbthemes.com/demo/one/works/work-2/ Given a target element, this is the implementation (ie. which options we're passing to Magnific Popup):
|
We've made a few tests about this issue, and the only explanation that we've been able to find is that clicking on the next/prev arrows actually fires twice, one time on the "click" event, and then another on the "mfpFastClick" event. For now we could solve this by adding a new callback function on open:
|
I'm seeing this issue too. What's the recommended fix? |
Having the same issue here... I thought it was a double click event or something so I turned off Any ideas? |
Still having this issue as well, any updates on a fix? |
Also having this issue on iOS only. Is there any update on this issue? |
I'm also curious if there is a fix or hack for making this work properly. |
Same problem here. A fix would be awesome! |
Confirmed unexpected behavior in our build as well. |
This issue is still alive and well in the latest version. It does it on a non-bootstrap template, however it works fine on a bootstrap template. I'm not sure what the issue would be caused by. The above solution thehappybit posted disabled the left/right arrows on all other browsers/devices, but the iPad began to work beautifully. :( |
Hi,
we've been noticing a weird behavior on iOS. If I have, say, 8 images in a gallery, they load correctly on desktop, and clicking on the navigation arrows indeed makes the gallery go to the next or prev image.
On iOS though, clicking on the "next" arrow, makes the gallery skip from the 1st image to the 3rd; clicking on the image (navigateByImgClick: true) works correctly, so does the API method .next().
The text was updated successfully, but these errors were encountered: