Tiled gallery caption issue on iPad
-
I’m using Slim Jetpack (in WP 3.6) to create tiled galleries and have noticed a problem when the site is viewed on iPad. In some cases the captions don’t behave as one would expect:
My gallery images are linked to other pages on my site, not to attachment pages. When tapping a gallery image once the caption appears as expected. Tapped a second time the image link is activated and gives the new page. The problem is: when going back to the gallery page by using the browser’s ‘back’ button the gallery caption is still there and even remains visible when tapping the other images. This happens to all captions of visited links in the gallery. Only reloading the page makes the captions of visited links go to their original position: hidden.
The problem does not occur in desktop browsers: here clicked captions disappear as expected when using the back button as soon as the cursor enters the page again.
Note: I’m using an iPad simulator on Mac and the site is hosted locally on my machine.
Is there a way to fix this problem, maybe by adding an extra javascript function in my child theme’s function-php? So that the caption funtions more or less the same on mobile and desktop?
- The topic ‘Tiled gallery caption issue on iPad’ is closed to new replies.