Magnific-Popup icon indicating copy to clipboard operation
Magnific-Popup copied to clipboard

Inline having to double click to advance gallery mode (html content)

Open jrobertblack opened this issue 8 years ago • 5 comments

So I have a wordpress shortcode with some posts, and I want the extra content to popup and then clicking to advance the popups to different posts. I have everything working good using a a hidden div within the post loop. But you have to click on the arrow twice to advance.

Is there any work around for this?

I have tried to implement the data options within js and it advnaces with just one click ok, but this is not an options as it needs to be php dynamic in the shortcode.

jrobertblack avatar Mar 03 '16 13:03 jrobertblack

I'm also having the same issue. Strange thing is that I've used it before with no issues so curious what's going on with this particular instance.

Anyone have a workaround?

ernstoarllano avatar Apr 06 '16 20:04 ernstoarllano

I'm having this problem too. I have a ul list with two rows of 10 thumbnails that open an inline popup with gallery, zoom, and midClick enabled. On and after the 10th thumbnail, I have to click 3 times to advance. Same problem on mobile when the rows are only 3 wide. Very frustrating and I have no idea how to troubleshoot.

timtorres avatar Apr 14 '16 04:04 timtorres

So I figured out what it going on with mine. On my instance I used an inline gallery with content. The times I need to click on the next arrow corresponded to the amount of links I had in each post. So I had a list of posts, each linking to a popup with more post content. I had links in 2 places, once in title and once on the image, this caused the user having to click twice to advance each inline posts slide. I removed the extra link and now it works good with only one click.

This method also always me to target a specific posts. there was another method I tried using a but it didnt target each specific post.

jrobertblack avatar Dec 17 '16 18:12 jrobertblack

thanks @jrobertblack just saved me an hour 4 years later :)

nickfmc avatar Jul 24 '20 05:07 nickfmc

@jrobertblack and it lives 5 years later too! Cheers buddy :)

zorandekic avatar Jul 08 '21 19:07 zorandekic