sachinchoolur / lightGallery

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

Image blurry when pinch zoom on mobile device #1542

Closed juislip closed 12 months ago

juislip commented 1 year ago

Description

Image blurry when pinch zoom on mobile device.

Steps to reproduce

  1. pinch zoom 50% - 80% (The image will appear blurry) Alt text

  2. pinch zoom 100% (not blurry) Alt text

JS code

lightGallery(el, {
    plugins: [lgZoom, lgThumbnail, lgFullscreen, lgAutoplay],
    selector: 'a',
    licenseKey: License.LIGHT_GALLERY,
    speed: 500,
    mobileSettings: {
        showCloseIcon: true,
    }
});

HTML markup

<div v-lightbox>
    <a href="/assets/image.jpg">
        <img class="w-100" src="/assets/image.jpg">
    </a>
</div>

Environment

stale[bot] commented 1 year 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.