imagelightbox icon indicating copy to clipboard operation
imagelightbox copied to clipboard

Swipe doesn't work if quitOnImgClick is set

Open andreas-mausch opened this issue 5 years ago • 1 comments

Haven't tested it, but maybe just change the order of the ifs here? https://github.com/marekdedic/imagelightbox/blob/d26fbd0db7c45fd1bb40f5b7654519d6461c938f/src/imagelightbox.js#L512

andreas-mausch avatar Feb 25 '20 18:02 andreas-mausch

Hi, thanks for the report. I am not sure whether changing the order would or would not then break quitOnClick on touch devices.... Will look into it

marekdedic avatar Feb 26 '20 09:02 marekdedic

Hi, I think this should be fixed as of #930

marekdedic avatar Mar 27 '24 22:03 marekdedic