elevatezoom
elevatezoom copied to clipboard
Wrong height of zoomContainer
a.nzHeight has wrong size:
a.zoomContainer=d('<div class="zoomContainer" style="-webkit-transform: translateZ(0);position:absolute;left:'+a.nzOffset.left+"px;top:"+a.nzOffset.top+"px;height:"+a.nzHeight+"px;width:"+a.nzWidth+'px;">');
Can you give an example of the issue?
http://padesire.ru/category/cosm/body/soap/podarochnyi-nabor_2/view.htm Height of zoomContainer for default image calculated is true. If click another images in gallery, then height is false. zoomContainer overrides gallery of images.
Same issue for me. When using swaptheimage
with an image that has a different height, the zoomed-in image does not use up the right space, it uses the height of the image that was there before. I use inner
as zoomType
.
Hey, I found the solution!
Add this option to your config constrainType: 'width'
what is constrainType ?