Gallery item click scrolls page to top

On mobile, a gallery click scrolls the page back to top. It works fine on desktop.

See video screengrab from desktop:

Screengrab from my actual mobile device:

  • WordPress version: 6.1
  • Cwicly Plugin version: 1.2.8
  • Cwicly Theme version: 1.0.3

Hi @owynter,

Thank you for taking the time to report this.

I can’t seem to reproduce this on my side.
I also notice that you have added custom CSS to the gallery items.

Does this error reproduce itself on other Cwicly galleries or more specifically this one?

I had noticed it before, but wasn’t really paying attention at the time. It’s just a bit of an issue now since the gallery is at the bottom of the page, so it forces a user to scroll back down each time.

I will try to recreate just using plain gallery without any additional CSS.