Open leadenhead opened 3 years ago
It's an implementation detail. 😬
The CSS code applied to images with this class sets the img element dimensions to the full size of the container (even though the actual image is not necessarily covering the whole container):
width: 100%;
height: 100%;
object-fit: contain;
Since the click on the image itself is already reserved to toggle the display of the controls, I'm not sure how to fix this easily unfortunately.
Hello! Actually, I found this behavior:
closeOnSlideClick: true
not work withblueimp-gallery-contain
Is this a bug or should it be? Thanks!