My friend is working on a website and he's using a plugin called Flip Lightbox. The basic functionality of the plugin is that when you click on an image, it flips over and pops out as a lightbox. Everything works fine, however, if you scroll down the page and click on images towards the bottom, the lightbox still opens but clicking anything will immediately take you back to the top of the page. I thought fixing this would be easy, but I'm struggling to figure out what's causing it.
I've tried using preventDefault on clicks to the images, and I've also looked into the plugin documentation and played around with the parameters, but nothing seems to work.
I know this isn't much information to go off of, but if anyone has experienced a similar issue or has any suggestions, please let me know!
Thank you!
Edit: I have simplified the page to one image for easier troubleshooting of the jumping issue.