elevatezoom icon indicating copy to clipboard operation
elevatezoom copied to clipboard

multiple zoomContainer issue when more then one image is opened

Open err-himanshu opened this issue 7 years ago • 2 comments

multiple zoomContainer issue while multiple images are opened . When there is more the one image is opened and you added elevateZoom using class method like :->

$(".test").elevateZoom(zoomConfig); then mutltiple zoomContainer will be created and that cause problem of clicking any other div

err-himanshu avatar Mar 15 '17 13:03 err-himanshu

Did you find a solution to this?

dgreen22 avatar Apr 12 '18 17:04 dgreen22

I had the same issue when using carousel. A zoomContainer left from previous page will show when hovering to the left. A new zoomContainer is created every time a new image is opened. To make sure there is only one zoomContainer, I just call $('.zoomContainer').remove(); before elevateZoom(). It works for me.

kakugiki avatar Aug 23 '18 18:08 kakugiki