lokesh / lightbox2

THE original Lightbox script (v2).
http://lokeshdhakar.com/projects/lightbox2/
MIT License
6.17k stars 1.76k forks source link

Prevent Lightbox2 activating when thumbnail is dragged #631

Closed cursor2000 closed 5 years ago

cursor2000 commented 6 years ago

I'm using Lightbox2 in conjunction with Slider-Pro. When using the mouse to scrub through my image gallery, if a user drags an image to the left or right, Lightbox activates because of the mouse event on the image. Is there a way of preventing Lightbox activating when an image is dragged so it only activates when the mouse is stationary when clicked?

lokesh commented 5 years ago

Reviewing older issues.

🤔I was not able to recreate this issue. As seen on the Lightbox page, clicking and dragging a thumbnail does not open up Lightbox. https://lokeshdhakar.com/projects/lightbox2/