These two options cancel each other out. Is there a reason I cannot have both?
rotechie opened this issue · 0 comments
Hello,
firstly, thank you for this wonderful package! You're the man!
My issue is this:
I would love to be able to close the large preview by clicking outside of it. Note:** It would be awesome if you could click the image itself and have it close. This is not an option though, is it?
Anyway, I know I can do the prior with: (previewCloseOnClick), however, I would also like the arrows to hide on mouse out. (imageArrowsAutoHide: true)
In the code below, the two options in bold cancel each other out. If I comment one of them out, the other will work. But they will not work simultaneously. Anything I can do to fix this?
Thank you!!
{ thumbnailsMoveSize: 4 },
{ imageArrowsAutoHide: true, thumbnailsArrowsAutoHide: true },
{ previewCloseOnClick: true, previewCloseOnEsc: true },
{ breakpoint: 500, width: "300px", height: "300px", thumbnailsColumns: 3 },
{ breakpoint: 300, width: "100%", height: "200px", thumbnailsColumns: 2 }