photoswipe-dynamic-caption-plugin icon indicating copy to clipboard operation
photoswipe-dynamic-caption-plugin copied to clipboard

Bug: zoom animation applied to captions when data-cropped=true

Open tombennet opened this issue 3 years ago • 2 comments
trafficstars

Thanks for working on this library again - it's an awesome project.

When animating from a cropped thumbnail (as per docs), the 'zoom' animation is applied to captions as well as the actual image. The desired behaviour is for captions to fade in, as per the demos.

This can easily be reproduced by adding data-cropped="true" to a photoswipe item in a gallery that uses the zoom animation. Demo here: https://codepen.io/tombennet/pen/wvmLxaO

Thanks!

tombennet avatar Aug 28 '22 20:08 tombennet

Have you found a workaround?

tobimori avatar Nov 26 '23 23:11 tobimori

Nope!

tombennet avatar Nov 29 '23 20:11 tombennet