Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
tombennet opened this issue Aug 28, 2022 · 2 comments
Open

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

tombennet opened this issue Aug 28, 2022 · 2 comments

Comments

@tombennet
Copy link

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!

@tobimori
Copy link

Have you found a workaround?

@tombennet
Copy link
Author

Nope!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants