# Interactions Gallery problems on mobile touch devices?

**URL:** https://forum.pinegrow.com/t/interactions-gallery-problems-on-mobile-touch-devices/5522
**Category:** Bug Reports
**Created:** [August 5, 2021, 10:12am UTC](https://forum.pinegrow.com/t/interactions-gallery-problems-on-mobile-touch-devices/5522 "2021-08-05T10:12:27Z")
**Posts on this page:** 12
**Page:** 1

<div class="post-metadata">

### Author: ![Riccarcharias](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/riccarcharias/32/4051_2.png) [@Riccarcharias](https://forum.pinegrow.com/u/Riccarcharias)
#### Post date: [August 5, 2021, 10:12am UTC](https://forum.pinegrow.com/t/interactions-gallery-problems-on-mobile-touch-devices/5522/1 "2021-08-05T10:12:27Z")

</div>

I noticed that the standard PG Interactions Gallery (with popup Lightbox) doesn’t perform quite well on mobile touch devices (smartphones). On PCs and Tablets everything works fine. On my iPhone X I found several issues: It’s hard to scroll on the Gallery and almost impossible to open an image to view it in the full size.

I Imported the standard Gallery to a blank page to show the problem:

[https://www.homepage-aus-leipzig.de/TestPGGallerie/](https://www.homepage-aus-leipzig.de/TestPGGallerie/)

Did I missed something? Do I have to set up anything in order to make the Gallery work on Smartphones? I use PG 6.0 without any frameworks.

---

<div class="post-metadata">

### Author: ![RobM](https://avatars.discourse-cdn.com/v4/letter/r/278dde/32.png) [@RobM](https://forum.pinegrow.com/u/RobM)
#### Post date: [August 5, 2021, 2:08pm UTC](https://forum.pinegrow.com/t/interactions-gallery-problems-on-mobile-touch-devices/5522/2 "2021-08-05T14:08:16Z")

</div>

Hi @Riccarcharias,  
I don’t have an iPhone X available to try, but your page works well on my Samsung.

[https://canada1.discourse-cdn.com/flex036/uploads/pinegrow/original/2X/1/16d91acc169404aef584af586e4763e6a4e12c53.mp4](https://canada1.discourse-cdn.com/flex036/uploads/pinegrow/original/2X/1/16d91acc169404aef584af586e4763e6a4e12c53.mp4)
  
Cheers,  
Bob

---

<div class="post-metadata">

### Author: ![Riccarcharias](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/riccarcharias/32/4051_2.png) [@Riccarcharias](https://forum.pinegrow.com/u/Riccarcharias)
#### Post date: [August 5, 2021, 2:54pm UTC](https://forum.pinegrow.com/t/interactions-gallery-problems-on-mobile-touch-devices/5522/3 "2021-08-05T14:54:07Z")

</div>

Interesting…it has the same problems on Chrome for iPhone. The gestures (swipe to see the next image) seem to work but not the clicks. Can anyone confirm these problems on iOS?

---

<div class="post-metadata">

### Author: ![AllMediaLab](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/allmedialab/32/2079_2.png) [@AllMediaLab](https://forum.pinegrow.com/u/AllMediaLab)
#### Post date: [August 6, 2021, 8:23am UTC](https://forum.pinegrow.com/t/interactions-gallery-problems-on-mobile-touch-devices/5522/4 "2021-08-06T08:23:41Z")

</div>

Hi @Riccarcharias,

Just checked your URL in Xcode Simulator IOS 14.5 iPhone 12, 11 and 10 and there is seems to swipe and scroll smoothly.

Regards,  
David

---

<div class="post-metadata">

### Author: ![Riccarcharias](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/riccarcharias/32/4051_2.png) [@Riccarcharias](https://forum.pinegrow.com/u/Riccarcharias)
#### Post date: [August 6, 2021, 1:28pm UTC](https://forum.pinegrow.com/t/interactions-gallery-problems-on-mobile-touch-devices/5522/5 "2021-08-06T13:28:47Z")

</div>

> [@Riccarcharias](#):
>
> [https://www.homepage-aus-leipzig.de/TestPGGallerie/](https://www.homepage-aus-leipzig.de/TestPGGallerie/)

Thanks for your effort. I asked a few friends and the could also interact with the gallery without any problems. I’ll try a few things and will post updates here.

---

<div class="post-metadata">

### Author: ![Riccarcharias](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/riccarcharias/32/4051_2.png) [@Riccarcharias](https://forum.pinegrow.com/u/Riccarcharias)
#### Post date: [August 6, 2021, 3:16pm UTC](https://forum.pinegrow.com/t/interactions-gallery-problems-on-mobile-touch-devices/5522/6 "2021-08-06T15:16:17Z")

</div>

Ok, one of my friends has the same problem on his iPhone X. On iPhone 11 and 12 everything works correctly. Strange.

---

<div class="post-metadata">

### Author: ![RobM](https://avatars.discourse-cdn.com/v4/letter/r/278dde/32.png) [@RobM](https://forum.pinegrow.com/u/RobM)
#### Post date: [August 6, 2021, 6:00pm UTC](https://forum.pinegrow.com/t/interactions-gallery-problems-on-mobile-touch-devices/5522/7 "2021-08-06T18:00:51Z")

</div>

I was just doing a little web prowling. It seems that at least some versions of iOS handled clicks oddly. The solution was to detect if it was iOS and then simulate the second click. Not sure if there is a better solution now and not sure if it will fix your problem.

---

<div class="post-metadata">

### Author: ![Riccarcharias](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/riccarcharias/32/4051_2.png) [@Riccarcharias](https://forum.pinegrow.com/u/Riccarcharias)
#### Post date: [August 9, 2021, 7:06am UTC](https://forum.pinegrow.com/t/interactions-gallery-problems-on-mobile-touch-devices/5522/8 "2021-08-09T07:06:44Z")

</div>

I tried the gallery on a few friends iPhones: it works on iPhone 11, 12 and SE2. It doesn’t work on iPhone X an 8 (which are the same generation). Swipe gestures work but no touch gestures. That makes it nearly impossible to scroll on the gallery, open an image, switch between images (by clicking the arrow-button) and close the opened image.

This should effect every PG interaction gallery…

---

<div class="post-metadata">

### Author: ![SteveH](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/steveh/32/2560_2.png) [@SteveH](https://forum.pinegrow.com/u/SteveH)
#### Post date: [August 11, 2021, 10:18pm UTC](https://forum.pinegrow.com/t/interactions-gallery-problems-on-mobile-touch-devices/5522/9 "2021-08-11T22:18:48Z")

</div>

Just adding a verification - the test page on my iPhone X works with swipes - not with clicks. SOMETIMES a double-tap on the arrow icon will trigger a new slide, but not consistently.

Found this - it may help. One suggestion says that with Bootstrap you needto disable tool-tips

> <https://stackoverflow.com/questions/17710893/why-when-do-i-have-to-tap-twice-to-trigger-click-on-ios>

Not sure how to implement RobM’s hack, but it may not be that big of an issue IRL. The swipe is quite ingrained on most iPhone users.

---

<div class="post-metadata">

### Author: ![Riccarcharias](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/riccarcharias/32/4051_2.png) [@Riccarcharias](https://forum.pinegrow.com/u/Riccarcharias)
#### Post date: [August 12, 2021, 7:42am UTC](https://forum.pinegrow.com/t/interactions-gallery-problems-on-mobile-touch-devices/5522/10 "2021-08-12T07:42:28Z")

</div>

> [@SteveH](#):
>
> [mobile - Why/when do I have to tap twice to trigger click on iOS - Stack Overflow](https://stackoverflow.com/questions/17710893/why-when-do-i-have-to-tap-twice-to-trigger-click-on-ios)

Thanks for your effort. I didn’t use bootstrap, just the PG interactions. So this issue should appear on any PG website using the interactions Gallery.

---

<div class="post-metadata">

### Author: ![RobM](https://avatars.discourse-cdn.com/v4/letter/r/278dde/32.png) [@RobM](https://forum.pinegrow.com/u/RobM)
#### Post date: [August 12, 2021, 9:48am UTC](https://forum.pinegrow.com/t/interactions-gallery-problems-on-mobile-touch-devices/5522/11 "2021-08-12T09:48:33Z")

</div>

Hi @Riccarcharias,  
Do you know if it will work if you add a touchstart trigger instead of a click trigger if it works? If so, then you could have two triggers, a click for larger screens and a touchstart for mobile. Again, I don’t have an iPhone X to test.  
Sorry,  
Bob

---

<div class="post-metadata">

### Author: ![Riccarcharias](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/riccarcharias/32/4051_2.png) [@Riccarcharias](https://forum.pinegrow.com/u/Riccarcharias)
#### Post date: [August 19, 2021, 1:47pm UTC](https://forum.pinegrow.com/t/interactions-gallery-problems-on-mobile-touch-devices/5522/12 "2021-08-19T13:47:03Z")

</div>

Hello,

Yes, touchstart instead of click opens the images but makes scrolling impossible because when I tap and hold my finger on an preview image to scroll down, it immediately opens that image in the gallery…
