Closed megaarmos closed 5 months ago
Hi,
The script provides zoom functionality from the scaled size to the actual size by default. So if the image fits in the viewport, it is assumed that the content cannot be zoomed. If you want, you can increase the maximum zoom level, example -
Fancybox.bind('[data-fancybox]', {
contentClick: "toggleMax",
Images: {
Panzoom: {
maxScale: 2,
},
},
});
Describe the bug
While using fancybox i can't toggle zoom on bigger devices where image is maximum size, but it can be toggled on smaller devices.
Reproduction
Additional context
No response