touch on mobile opens an image
-
Hi,
there is an issue on a mobile with your plugin. I have a thumbnail gallery which after clicking opens in lightbox. Unfortunately on mobile divices when you touch a photo when scrolling a page the thumbnail opens. So it is impossible to scroll a page when you put a finger on a photo.
I’ve managed to work it out b changing
wp-content/plugins/photo-gallery/frontend/views/BWGViewThumbnails.php
file.
I deleted “touchend” in line:
jQuery(“.bwg_lightbox_<?php echo $bwg; ?>”).on(“touchend click”, function () {So after the change it is:
jQuery(“.bwg_lightbox_<?php echo $bwg; ?>”).on(“click”, function () {Problem is that I have to change it after each update of a plugin. Could you work it out in any next upgrade?
Thanks a lot.
- The topic ‘touch on mobile opens an image’ is closed to new replies.