sachinchoolur / lightGallery

A customizable, modular, responsive, lightbox gallery plugin.
https://www.lightgalleryjs.com/
Other
6.55k stars 1.29k forks source link

zoom touchstart event.target not the same #1644

Closed coderlyu closed 4 months ago

coderlyu commented 4 months ago

Question

my business requires images to slide quickly, so i set it speed: 0 , When I run it, it triggers the zoom by mistake

This is my test project:https://github.com/coderlyu/lightGallery-fase-swipe

the effect of error:

https://github.com/sachinchoolur/lightGallery/assets/56467425/65da5ae4-874e-45d3-be56-257efc89fdbc

the video clips,you can see that the previous picture is enlarged:

zoom_err_snipaste

the effect I expect:

https://github.com/sachinchoolur/lightGallery/assets/56467425/c8d5123a-083d-4f72-8368-e1d5f345045f

CLAassistant commented 4 months ago

CLA assistant check
All committers have signed the CLA.