elevateweb / elevatezoom

1.03k stars 493 forks source link

ZoomContainer z-index making other elements unclickable #80

Open manatarms opened 9 years ago

manatarms commented 9 years ago

Sometimes the zoomcontainer moves from where its supposed to be and covers my other elements making them unclickable even when its not visible. Anything I can do to fix this.

self.nzOffset = self.$elem.offset();
self.nzWidth = self.$elem.width();
self.nzHeight = self.$elem.height();

self.zoomContainer = $('<div class="zoomContainer" style="-webkit-transform:translateZ(0);position:absolute;left:'+self.nzOffset.left+'px;top:'+self.nzOffset.top+'px;height:'+self. nzHeight+'px;width:'+self.nzWidth+'px;"></div>');
$('body').append(self.zoomContainer);

Thanks for your time, Cheers

fuser82 commented 7 years ago

I have the same problem, Im using it inside bootstrap tabs

Muhammed786 commented 7 years ago

I too have the same problem, Im also using it inside bootstrap tabs... Colud any one help to solve this please ??