mreq / slick-lightbox

A lightbox wrapper for Ken's amazing slick carousel.
http://mreq.github.io/slick-lightbox/
MIT License
229 stars 103 forks source link

First image is only half height #53

Closed stmalk closed 7 years ago

stmalk commented 7 years ago

I have a php loop loading images into slick slider, so I added slick-lightbox to that gallery and it all works perfectly, but for some reason the very first image I click on to open in a lightbox is displayed only half or even third of its height. When I click on arrows back and forth, all other images load correctly. And if I go back to the first one it also becomes correct height. Only the first lick display is wrong.

Also, if I click and drag on that image, kinda drag the cursor down, height changes to the full as needed. I don't know what kind of trickery is it.

What do you think it could be?

mreq commented 7 years ago

I have no idea :/ I'd be willing to help if you'd manage to put up a broken demo somewhere. Are you doing anything special with the plugin, or is it just a simple invocation?

mreq commented 7 years ago

Lack of response. Feel free to reopen.