nanostudio-org / nanogallery2

a modern photo / video gallery and lightbox [JS library]
https://nanogallery2.nanostudio.org
761 stars 112 forks source link

I can trigger hiden toolbar with touch. #369

Open Fasterpast opened 2 years ago

Fasterpast commented 2 years ago

I'm using nanogallery2 in pretty simple manner. If I want to add download button to the thumbnails with "thumbnailToolbarImage": { "topLeft": "download", "topRight": "", "bottomLeft": "", "bottomRight": ""}, it's ok at desktop because "thumbnailHoverEffect2": "imageScaleIn80|toolsAppear", however on mobile when I'm touching top left corner, i'm getting download action instead of image open. Because users can't see any icons on mobile (there is no hover), they can't understand why an image isn't opening in lightbox. I have tried "touchAutoOpenDelay": -1, to make users tap twice to open, hoverer top left corner touch still fires download action. Is it an issue or miss-configuration? Thanks.