这是indexloc提供的服务,不要输入任何密码
Skip to content

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

@tombennet

Description

@tombennet

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions