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 #1645

Closed coderlyu closed 2 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/bc0bd1da-337b-4fc9-a527-79da3f3585ab

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/64a41e13-de49-44d4-8db2-8d83a2dd93a1

stale[bot] commented 2 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.