Product image zoom issue on product details page when drop-down menu have overlap area with itMega menu issue with product zoomProduct image zoom issue on product details page when drop-down menu have overlap area with it MAGENTO 2.3Stop Zoom on small images on Magento 1.9.0.1 RWD theme2 zoom effects on product image magento 2Product image not zooming in properly when hovering on image at product detail pageElevate zoom on gallery imagesMagento 2 New Website not displaying in drop down on product page adminVenustheme Megamenu - Cat page left-side doesn't work on mobileMagento default zoom for product image is not working properlyCan not scroll image in mobile device for product pageMega menu issue with product zoomMagento 2 dropdown on hover menu issue

What publication claimed that Michael Jackson died in a nuclear holocaust?

Purpose of cylindrical attachments on Power Transmission towers

Is the first of the 10 Commandments considered a mitzvah?

What's the difference between DHCP and NAT? Are they mutually exclusive?

I am caught when I was about to steal some candies

Why did Robert pick unworthy men for the White Cloaks?

David slept with Bathsheba because she was pure?? What does that mean?

Must I use my personal social media account for work?

Why do (or did, until very recently) aircraft transponders wait to be interrogated before broadcasting beacon signals?

What does this line mean in Zelazny's The Courts of Chaos?

What do you call the action of "describing events as they happen" like sports anchors do?

Is it possible to have battery technology that can't be duplicated?

Why would a home insurer offer a discount based on credit score?

Is plausible to have subspecies with & without separate sexes?

How can powerful telekinesis avoid violating Newton's 3rd Law?

A team managed by my peer is close to melting down

As easy as Three, Two, One... How fast can you go from Five to Four?

Why is it bad to use your whole foot in rock climbing

Do Veracrypt encrypted volumes have any kind of brute force protection?

Parsing text written the millitext font

Can an open source licence be revoked if it violates employer's IP?

What class is best to play when a level behind the rest of the party?

ISP is not hashing the password I log in with online. Should I take any action?

Why does there seem to be an extreme lack of public trashcans in Taiwan?



Product image zoom issue on product details page when drop-down menu have overlap area with it


Mega menu issue with product zoomProduct image zoom issue on product details page when drop-down menu have overlap area with it MAGENTO 2.3Stop Zoom on small images on Magento 1.9.0.1 RWD theme2 zoom effects on product image magento 2Product image not zooming in properly when hovering on image at product detail pageElevate zoom on gallery imagesMagento 2 New Website not displaying in drop down on product page adminVenustheme Megamenu - Cat page left-side doesn't work on mobileMagento default zoom for product image is not working properlyCan not scroll image in mobile device for product pageMega menu issue with product zoomMagento 2 dropdown on hover menu issue






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








9















Zoom works fine,



But when hovering on category drop-down menu to the overlap area of product image and drop-down menu, The zoom is acting normally, even the mouse is still on the drop-down menu.



Please check the capture picture:



enter image description here










share|improve this question
























  • set higher z-index to zoom , will solve your issue

    – Manoj Deswal
    May 24 '18 at 10:16











  • @ManojDeswal, I was tried using z-index: 99999; but it doesn't work. Can you provide me proper solutions.

    – Mayur Rathod
    May 24 '18 at 10:46












  • if you have online url then I can help you

    – Manoj Deswal
    May 24 '18 at 11:00











  • It's working fine in my local system.

    – Mayur Rathod
    May 24 '18 at 11:13











  • pass your online URL , after inspecting i can tell you exact solution

    – Manoj Deswal
    May 24 '18 at 11:15

















9















Zoom works fine,



But when hovering on category drop-down menu to the overlap area of product image and drop-down menu, The zoom is acting normally, even the mouse is still on the drop-down menu.



Please check the capture picture:



enter image description here










share|improve this question
























  • set higher z-index to zoom , will solve your issue

    – Manoj Deswal
    May 24 '18 at 10:16











  • @ManojDeswal, I was tried using z-index: 99999; but it doesn't work. Can you provide me proper solutions.

    – Mayur Rathod
    May 24 '18 at 10:46












  • if you have online url then I can help you

    – Manoj Deswal
    May 24 '18 at 11:00











  • It's working fine in my local system.

    – Mayur Rathod
    May 24 '18 at 11:13











  • pass your online URL , after inspecting i can tell you exact solution

    – Manoj Deswal
    May 24 '18 at 11:15













9












9








9


1






Zoom works fine,



But when hovering on category drop-down menu to the overlap area of product image and drop-down menu, The zoom is acting normally, even the mouse is still on the drop-down menu.



Please check the capture picture:



enter image description here










share|improve this question
















Zoom works fine,



But when hovering on category drop-down menu to the overlap area of product image and drop-down menu, The zoom is acting normally, even the mouse is still on the drop-down menu.



Please check the capture picture:



enter image description here







magento2 less-css zoom






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited May 24 '18 at 11:11









TBS Mage

12215




12215










asked May 24 '18 at 10:11









Mayur RathodMayur Rathod

402211




402211












  • set higher z-index to zoom , will solve your issue

    – Manoj Deswal
    May 24 '18 at 10:16











  • @ManojDeswal, I was tried using z-index: 99999; but it doesn't work. Can you provide me proper solutions.

    – Mayur Rathod
    May 24 '18 at 10:46












  • if you have online url then I can help you

    – Manoj Deswal
    May 24 '18 at 11:00











  • It's working fine in my local system.

    – Mayur Rathod
    May 24 '18 at 11:13











  • pass your online URL , after inspecting i can tell you exact solution

    – Manoj Deswal
    May 24 '18 at 11:15

















  • set higher z-index to zoom , will solve your issue

    – Manoj Deswal
    May 24 '18 at 10:16











  • @ManojDeswal, I was tried using z-index: 99999; but it doesn't work. Can you provide me proper solutions.

    – Mayur Rathod
    May 24 '18 at 10:46












  • if you have online url then I can help you

    – Manoj Deswal
    May 24 '18 at 11:00











  • It's working fine in my local system.

    – Mayur Rathod
    May 24 '18 at 11:13











  • pass your online URL , after inspecting i can tell you exact solution

    – Manoj Deswal
    May 24 '18 at 11:15
















set higher z-index to zoom , will solve your issue

– Manoj Deswal
May 24 '18 at 10:16





set higher z-index to zoom , will solve your issue

– Manoj Deswal
May 24 '18 at 10:16













@ManojDeswal, I was tried using z-index: 99999; but it doesn't work. Can you provide me proper solutions.

– Mayur Rathod
May 24 '18 at 10:46






@ManojDeswal, I was tried using z-index: 99999; but it doesn't work. Can you provide me proper solutions.

– Mayur Rathod
May 24 '18 at 10:46














if you have online url then I can help you

– Manoj Deswal
May 24 '18 at 11:00





if you have online url then I can help you

– Manoj Deswal
May 24 '18 at 11:00













It's working fine in my local system.

– Mayur Rathod
May 24 '18 at 11:13





It's working fine in my local system.

– Mayur Rathod
May 24 '18 at 11:13













pass your online URL , after inspecting i can tell you exact solution

– Manoj Deswal
May 24 '18 at 11:15





pass your online URL , after inspecting i can tell you exact solution

– Manoj Deswal
May 24 '18 at 11:15










7 Answers
7






active

oldest

votes


















18














You need to replace the code of lib/web/magnifier/magnifier.js in your theme as below.



$(document).on('mousemove', onMousemove);
_init($box, gOptions);


Replace it With.



$box.on('mousemove', onMousemove);
$box.on('mouseleave', mouseleave);
function mouseleave(e)
onThumbLeave();
isOverThumb = false;
$largeWrapper.addClass(MagnifyCls.magnifyHidden);

_init($box, gOptions);


We need to add function on "mouseleave" event of image block otherwise zoom will display after mouse leave from image block.

Please add the above code and let me know if you need anything else.






share|improve this answer

























  • Magento 2.2.5. I made this change, cleared cached and it's still not working as it should. Any other suggestions?

    – Rudy C.
    Aug 8 '18 at 16:38











  • Please run the following command on root of magento directory. -> php bin/magento s:up -> php bin/magento s:d:c let me know if it will not working after run above command

    – Nitin Vala
    Aug 9 '18 at 13:27












  • That worked! The text from the name of the image is still cropping the bottom is this something you're familiar with? I was hoping that fixing the image hover issue would also fix the image text issue but it seems to be separate? Thank you for your help and time, Nitin.

    – Rudy C.
    Aug 10 '18 at 15:31











  • Yes, The both issues are separate.it's already discussed on git hub github.com/magento/magento2/issues/15035(see last 3-4 comments) . It may also resolved in latest release of magento.

    – Nitin Vala
    Aug 11 '18 at 17:15











  • Works for 2.2.4

    – Joel Davey
    Dec 1 '18 at 22:42


















6














I upgrade to v2.2.6 and it doesn't work anymore after that

I edit the code like this and it works :



 $box.on('mousemove', onMousemove);
$box.on('mouseleave', mouseleave);
function mouseleave(e)
onThumbLeave();
isOverThumb = false;
$(largeWrapper).addClass(MagnifyCls.magnifyHidden);

// _init($box, gOptions);
_init($box, customUserOptions);





share|improve this answer

























  • I just updated to 2.2.6 and used this code. Still not working for me any other suggestion? Thanks. FYI I was using the previous patch suggested by Nitin with no issues.

    – Rudy C.
    Sep 21 '18 at 16:25












  • I edit the code with : $(largeWrapper). ... what is your front error ?

    – rudak
    Sep 22 '18 at 12:38











  • this solved my problem on 2.2.6 thank You.

    – CDzWebDev
    Nov 8 '18 at 17:29











  • This works for me on 2.3

    – BartZalas
    Mar 1 at 10:28


















6














For magento version 2.2.6 replace below code in your theme.
File path lib/web/magnifier/magnifier.js
Replace in app/design/frontend/vendor/module/web



$box.on('mousemove', onMousemove);
_init($box, customUserOptions);


Replace it With.



 $box.on('mousemove', onMousemove);
$box.on('mouseleave', mouseleave);
function mouseleave(e)
onThumbLeave();
isOverThumb = false;
$magnifierPreview.addClass(MagnifyCls.magnifyHidden);

_init($box, customUserOptions);





share|improve this answer























  • Thanks it is working !!

    – Manish Goswami
    May 13 at 11:12


















3














Looks like this is Magetno's bug.



Check Here.



Fix has been merged with Lattest Magetno 2.2.4.



If you are running older version than you can modify below file as workarround.




lib/web/magnifier/magnifier.js




 $box.on('mousemove', onMousemove);
_init($box, gOptions);


Reference :- Check This commit that is merged with Magento 2.2.4



Update:- If you merge this PR and than it will be zoom issue for you. Its not working Looks Like, Fixing one Problem Messed up with other.
Do it at your own Risk !!!






share|improve this answer
































    2














    With the latest version, the above solution still didn't work, I had to specify the magnifier preview class specifically like this:



    $box.on('mousemove', onMousemove);
    $box.on('mouseleave', mouseleave);
    function mouseleave(e)
    onThumbLeave();
    isOverThumb = false;
    $('.magnifier-preview').addClass(MagnifyCls.magnifyHidden);

    _init($box, customUserOptions);





    share|improve this answer























    • This does not work for me on a fresh install of 2.3.0. Any suggestions?

      – Rudy C.
      Jan 18 at 16:19


















    1














    $box.on('mousemove', onMousemove);
    $box.on('mouseleave', mouseleave);
    function mouseleave(e)
    onThumbLeave();
    isOverThumb = false;
    $largeWrapper.addClass(MagnifyCls.magnifyHidden);

    _init($box, gOptions);


    This code Working fine.



    Thanks,






    share|improve this answer
































      1














      Where can you find the originel magnifier.js? We have this issue and use Ultimo theme. However app/design/frontend/Infortis/ultimo is how far we get. Then ofcourse I can create the web/magnifier/ folders but from where to get the right magnifier.js?



      Anybody a good to go example? Thanks






      share|improve this answer























      • Original magnifier.js is under MagentoRoot/lib/web/magnifier/ folder.

        – Nitin Vala
        Dec 27 '18 at 12:20











      Your Answer








      StackExchange.ready(function()
      var channelOptions =
      tags: "".split(" "),
      id: "479"
      ;
      initTagRenderer("".split(" "), "".split(" "), channelOptions);

      StackExchange.using("externalEditor", function()
      // Have to fire editor after snippets, if snippets enabled
      if (StackExchange.settings.snippets.snippetsEnabled)
      StackExchange.using("snippets", function()
      createEditor();
      );

      else
      createEditor();

      );

      function createEditor()
      StackExchange.prepareEditor(
      heartbeatType: 'answer',
      autoActivateHeartbeat: false,
      convertImagesToLinks: false,
      noModals: true,
      showLowRepImageUploadWarning: true,
      reputationToPostImages: null,
      bindNavPrevention: true,
      postfix: "",
      imageUploader:
      brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
      contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
      allowUrls: true
      ,
      onDemand: true,
      discardSelector: ".discard-answer"
      ,immediatelyShowMarkdownHelp:true
      );



      );













      draft saved

      draft discarded


















      StackExchange.ready(
      function ()
      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f227354%2fproduct-image-zoom-issue-on-product-details-page-when-drop-down-menu-have-overla%23new-answer', 'question_page');

      );

      Post as a guest















      Required, but never shown

























      7 Answers
      7






      active

      oldest

      votes








      7 Answers
      7






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes









      18














      You need to replace the code of lib/web/magnifier/magnifier.js in your theme as below.



      $(document).on('mousemove', onMousemove);
      _init($box, gOptions);


      Replace it With.



      $box.on('mousemove', onMousemove);
      $box.on('mouseleave', mouseleave);
      function mouseleave(e)
      onThumbLeave();
      isOverThumb = false;
      $largeWrapper.addClass(MagnifyCls.magnifyHidden);

      _init($box, gOptions);


      We need to add function on "mouseleave" event of image block otherwise zoom will display after mouse leave from image block.

      Please add the above code and let me know if you need anything else.






      share|improve this answer

























      • Magento 2.2.5. I made this change, cleared cached and it's still not working as it should. Any other suggestions?

        – Rudy C.
        Aug 8 '18 at 16:38











      • Please run the following command on root of magento directory. -> php bin/magento s:up -> php bin/magento s:d:c let me know if it will not working after run above command

        – Nitin Vala
        Aug 9 '18 at 13:27












      • That worked! The text from the name of the image is still cropping the bottom is this something you're familiar with? I was hoping that fixing the image hover issue would also fix the image text issue but it seems to be separate? Thank you for your help and time, Nitin.

        – Rudy C.
        Aug 10 '18 at 15:31











      • Yes, The both issues are separate.it's already discussed on git hub github.com/magento/magento2/issues/15035(see last 3-4 comments) . It may also resolved in latest release of magento.

        – Nitin Vala
        Aug 11 '18 at 17:15











      • Works for 2.2.4

        – Joel Davey
        Dec 1 '18 at 22:42















      18














      You need to replace the code of lib/web/magnifier/magnifier.js in your theme as below.



      $(document).on('mousemove', onMousemove);
      _init($box, gOptions);


      Replace it With.



      $box.on('mousemove', onMousemove);
      $box.on('mouseleave', mouseleave);
      function mouseleave(e)
      onThumbLeave();
      isOverThumb = false;
      $largeWrapper.addClass(MagnifyCls.magnifyHidden);

      _init($box, gOptions);


      We need to add function on "mouseleave" event of image block otherwise zoom will display after mouse leave from image block.

      Please add the above code and let me know if you need anything else.






      share|improve this answer

























      • Magento 2.2.5. I made this change, cleared cached and it's still not working as it should. Any other suggestions?

        – Rudy C.
        Aug 8 '18 at 16:38











      • Please run the following command on root of magento directory. -> php bin/magento s:up -> php bin/magento s:d:c let me know if it will not working after run above command

        – Nitin Vala
        Aug 9 '18 at 13:27












      • That worked! The text from the name of the image is still cropping the bottom is this something you're familiar with? I was hoping that fixing the image hover issue would also fix the image text issue but it seems to be separate? Thank you for your help and time, Nitin.

        – Rudy C.
        Aug 10 '18 at 15:31











      • Yes, The both issues are separate.it's already discussed on git hub github.com/magento/magento2/issues/15035(see last 3-4 comments) . It may also resolved in latest release of magento.

        – Nitin Vala
        Aug 11 '18 at 17:15











      • Works for 2.2.4

        – Joel Davey
        Dec 1 '18 at 22:42













      18












      18








      18







      You need to replace the code of lib/web/magnifier/magnifier.js in your theme as below.



      $(document).on('mousemove', onMousemove);
      _init($box, gOptions);


      Replace it With.



      $box.on('mousemove', onMousemove);
      $box.on('mouseleave', mouseleave);
      function mouseleave(e)
      onThumbLeave();
      isOverThumb = false;
      $largeWrapper.addClass(MagnifyCls.magnifyHidden);

      _init($box, gOptions);


      We need to add function on "mouseleave" event of image block otherwise zoom will display after mouse leave from image block.

      Please add the above code and let me know if you need anything else.






      share|improve this answer















      You need to replace the code of lib/web/magnifier/magnifier.js in your theme as below.



      $(document).on('mousemove', onMousemove);
      _init($box, gOptions);


      Replace it With.



      $box.on('mousemove', onMousemove);
      $box.on('mouseleave', mouseleave);
      function mouseleave(e)
      onThumbLeave();
      isOverThumb = false;
      $largeWrapper.addClass(MagnifyCls.magnifyHidden);

      _init($box, gOptions);


      We need to add function on "mouseleave" event of image block otherwise zoom will display after mouse leave from image block.

      Please add the above code and let me know if you need anything else.







      share|improve this answer














      share|improve this answer



      share|improve this answer








      edited Jun 1 '18 at 10:02

























      answered May 24 '18 at 14:03









      Nitin ValaNitin Vala

      43537




      43537












      • Magento 2.2.5. I made this change, cleared cached and it's still not working as it should. Any other suggestions?

        – Rudy C.
        Aug 8 '18 at 16:38











      • Please run the following command on root of magento directory. -> php bin/magento s:up -> php bin/magento s:d:c let me know if it will not working after run above command

        – Nitin Vala
        Aug 9 '18 at 13:27












      • That worked! The text from the name of the image is still cropping the bottom is this something you're familiar with? I was hoping that fixing the image hover issue would also fix the image text issue but it seems to be separate? Thank you for your help and time, Nitin.

        – Rudy C.
        Aug 10 '18 at 15:31











      • Yes, The both issues are separate.it's already discussed on git hub github.com/magento/magento2/issues/15035(see last 3-4 comments) . It may also resolved in latest release of magento.

        – Nitin Vala
        Aug 11 '18 at 17:15











      • Works for 2.2.4

        – Joel Davey
        Dec 1 '18 at 22:42

















      • Magento 2.2.5. I made this change, cleared cached and it's still not working as it should. Any other suggestions?

        – Rudy C.
        Aug 8 '18 at 16:38











      • Please run the following command on root of magento directory. -> php bin/magento s:up -> php bin/magento s:d:c let me know if it will not working after run above command

        – Nitin Vala
        Aug 9 '18 at 13:27












      • That worked! The text from the name of the image is still cropping the bottom is this something you're familiar with? I was hoping that fixing the image hover issue would also fix the image text issue but it seems to be separate? Thank you for your help and time, Nitin.

        – Rudy C.
        Aug 10 '18 at 15:31











      • Yes, The both issues are separate.it's already discussed on git hub github.com/magento/magento2/issues/15035(see last 3-4 comments) . It may also resolved in latest release of magento.

        – Nitin Vala
        Aug 11 '18 at 17:15











      • Works for 2.2.4

        – Joel Davey
        Dec 1 '18 at 22:42
















      Magento 2.2.5. I made this change, cleared cached and it's still not working as it should. Any other suggestions?

      – Rudy C.
      Aug 8 '18 at 16:38





      Magento 2.2.5. I made this change, cleared cached and it's still not working as it should. Any other suggestions?

      – Rudy C.
      Aug 8 '18 at 16:38













      Please run the following command on root of magento directory. -> php bin/magento s:up -> php bin/magento s:d:c let me know if it will not working after run above command

      – Nitin Vala
      Aug 9 '18 at 13:27






      Please run the following command on root of magento directory. -> php bin/magento s:up -> php bin/magento s:d:c let me know if it will not working after run above command

      – Nitin Vala
      Aug 9 '18 at 13:27














      That worked! The text from the name of the image is still cropping the bottom is this something you're familiar with? I was hoping that fixing the image hover issue would also fix the image text issue but it seems to be separate? Thank you for your help and time, Nitin.

      – Rudy C.
      Aug 10 '18 at 15:31





      That worked! The text from the name of the image is still cropping the bottom is this something you're familiar with? I was hoping that fixing the image hover issue would also fix the image text issue but it seems to be separate? Thank you for your help and time, Nitin.

      – Rudy C.
      Aug 10 '18 at 15:31













      Yes, The both issues are separate.it's already discussed on git hub github.com/magento/magento2/issues/15035(see last 3-4 comments) . It may also resolved in latest release of magento.

      – Nitin Vala
      Aug 11 '18 at 17:15





      Yes, The both issues are separate.it's already discussed on git hub github.com/magento/magento2/issues/15035(see last 3-4 comments) . It may also resolved in latest release of magento.

      – Nitin Vala
      Aug 11 '18 at 17:15













      Works for 2.2.4

      – Joel Davey
      Dec 1 '18 at 22:42





      Works for 2.2.4

      – Joel Davey
      Dec 1 '18 at 22:42













      6














      I upgrade to v2.2.6 and it doesn't work anymore after that

      I edit the code like this and it works :



       $box.on('mousemove', onMousemove);
      $box.on('mouseleave', mouseleave);
      function mouseleave(e)
      onThumbLeave();
      isOverThumb = false;
      $(largeWrapper).addClass(MagnifyCls.magnifyHidden);

      // _init($box, gOptions);
      _init($box, customUserOptions);





      share|improve this answer

























      • I just updated to 2.2.6 and used this code. Still not working for me any other suggestion? Thanks. FYI I was using the previous patch suggested by Nitin with no issues.

        – Rudy C.
        Sep 21 '18 at 16:25












      • I edit the code with : $(largeWrapper). ... what is your front error ?

        – rudak
        Sep 22 '18 at 12:38











      • this solved my problem on 2.2.6 thank You.

        – CDzWebDev
        Nov 8 '18 at 17:29











      • This works for me on 2.3

        – BartZalas
        Mar 1 at 10:28















      6














      I upgrade to v2.2.6 and it doesn't work anymore after that

      I edit the code like this and it works :



       $box.on('mousemove', onMousemove);
      $box.on('mouseleave', mouseleave);
      function mouseleave(e)
      onThumbLeave();
      isOverThumb = false;
      $(largeWrapper).addClass(MagnifyCls.magnifyHidden);

      // _init($box, gOptions);
      _init($box, customUserOptions);





      share|improve this answer

























      • I just updated to 2.2.6 and used this code. Still not working for me any other suggestion? Thanks. FYI I was using the previous patch suggested by Nitin with no issues.

        – Rudy C.
        Sep 21 '18 at 16:25












      • I edit the code with : $(largeWrapper). ... what is your front error ?

        – rudak
        Sep 22 '18 at 12:38











      • this solved my problem on 2.2.6 thank You.

        – CDzWebDev
        Nov 8 '18 at 17:29











      • This works for me on 2.3

        – BartZalas
        Mar 1 at 10:28













      6












      6








      6







      I upgrade to v2.2.6 and it doesn't work anymore after that

      I edit the code like this and it works :



       $box.on('mousemove', onMousemove);
      $box.on('mouseleave', mouseleave);
      function mouseleave(e)
      onThumbLeave();
      isOverThumb = false;
      $(largeWrapper).addClass(MagnifyCls.magnifyHidden);

      // _init($box, gOptions);
      _init($box, customUserOptions);





      share|improve this answer















      I upgrade to v2.2.6 and it doesn't work anymore after that

      I edit the code like this and it works :



       $box.on('mousemove', onMousemove);
      $box.on('mouseleave', mouseleave);
      function mouseleave(e)
      onThumbLeave();
      isOverThumb = false;
      $(largeWrapper).addClass(MagnifyCls.magnifyHidden);

      // _init($box, gOptions);
      _init($box, customUserOptions);






      share|improve this answer














      share|improve this answer



      share|improve this answer








      edited Sep 22 '18 at 12:37

























      answered Sep 20 '18 at 21:36









      rudakrudak

      6314




      6314












      • I just updated to 2.2.6 and used this code. Still not working for me any other suggestion? Thanks. FYI I was using the previous patch suggested by Nitin with no issues.

        – Rudy C.
        Sep 21 '18 at 16:25












      • I edit the code with : $(largeWrapper). ... what is your front error ?

        – rudak
        Sep 22 '18 at 12:38











      • this solved my problem on 2.2.6 thank You.

        – CDzWebDev
        Nov 8 '18 at 17:29











      • This works for me on 2.3

        – BartZalas
        Mar 1 at 10:28

















      • I just updated to 2.2.6 and used this code. Still not working for me any other suggestion? Thanks. FYI I was using the previous patch suggested by Nitin with no issues.

        – Rudy C.
        Sep 21 '18 at 16:25












      • I edit the code with : $(largeWrapper). ... what is your front error ?

        – rudak
        Sep 22 '18 at 12:38











      • this solved my problem on 2.2.6 thank You.

        – CDzWebDev
        Nov 8 '18 at 17:29











      • This works for me on 2.3

        – BartZalas
        Mar 1 at 10:28
















      I just updated to 2.2.6 and used this code. Still not working for me any other suggestion? Thanks. FYI I was using the previous patch suggested by Nitin with no issues.

      – Rudy C.
      Sep 21 '18 at 16:25






      I just updated to 2.2.6 and used this code. Still not working for me any other suggestion? Thanks. FYI I was using the previous patch suggested by Nitin with no issues.

      – Rudy C.
      Sep 21 '18 at 16:25














      I edit the code with : $(largeWrapper). ... what is your front error ?

      – rudak
      Sep 22 '18 at 12:38





      I edit the code with : $(largeWrapper). ... what is your front error ?

      – rudak
      Sep 22 '18 at 12:38













      this solved my problem on 2.2.6 thank You.

      – CDzWebDev
      Nov 8 '18 at 17:29





      this solved my problem on 2.2.6 thank You.

      – CDzWebDev
      Nov 8 '18 at 17:29













      This works for me on 2.3

      – BartZalas
      Mar 1 at 10:28





      This works for me on 2.3

      – BartZalas
      Mar 1 at 10:28











      6














      For magento version 2.2.6 replace below code in your theme.
      File path lib/web/magnifier/magnifier.js
      Replace in app/design/frontend/vendor/module/web



      $box.on('mousemove', onMousemove);
      _init($box, customUserOptions);


      Replace it With.



       $box.on('mousemove', onMousemove);
      $box.on('mouseleave', mouseleave);
      function mouseleave(e)
      onThumbLeave();
      isOverThumb = false;
      $magnifierPreview.addClass(MagnifyCls.magnifyHidden);

      _init($box, customUserOptions);





      share|improve this answer























      • Thanks it is working !!

        – Manish Goswami
        May 13 at 11:12















      6














      For magento version 2.2.6 replace below code in your theme.
      File path lib/web/magnifier/magnifier.js
      Replace in app/design/frontend/vendor/module/web



      $box.on('mousemove', onMousemove);
      _init($box, customUserOptions);


      Replace it With.



       $box.on('mousemove', onMousemove);
      $box.on('mouseleave', mouseleave);
      function mouseleave(e)
      onThumbLeave();
      isOverThumb = false;
      $magnifierPreview.addClass(MagnifyCls.magnifyHidden);

      _init($box, customUserOptions);





      share|improve this answer























      • Thanks it is working !!

        – Manish Goswami
        May 13 at 11:12













      6












      6








      6







      For magento version 2.2.6 replace below code in your theme.
      File path lib/web/magnifier/magnifier.js
      Replace in app/design/frontend/vendor/module/web



      $box.on('mousemove', onMousemove);
      _init($box, customUserOptions);


      Replace it With.



       $box.on('mousemove', onMousemove);
      $box.on('mouseleave', mouseleave);
      function mouseleave(e)
      onThumbLeave();
      isOverThumb = false;
      $magnifierPreview.addClass(MagnifyCls.magnifyHidden);

      _init($box, customUserOptions);





      share|improve this answer













      For magento version 2.2.6 replace below code in your theme.
      File path lib/web/magnifier/magnifier.js
      Replace in app/design/frontend/vendor/module/web



      $box.on('mousemove', onMousemove);
      _init($box, customUserOptions);


      Replace it With.



       $box.on('mousemove', onMousemove);
      $box.on('mouseleave', mouseleave);
      function mouseleave(e)
      onThumbLeave();
      isOverThumb = false;
      $magnifierPreview.addClass(MagnifyCls.magnifyHidden);

      _init($box, customUserOptions);






      share|improve this answer












      share|improve this answer



      share|improve this answer










      answered Dec 3 '18 at 5:50









      Aniket PrajapatiAniket Prajapati

      14618




      14618












      • Thanks it is working !!

        – Manish Goswami
        May 13 at 11:12

















      • Thanks it is working !!

        – Manish Goswami
        May 13 at 11:12
















      Thanks it is working !!

      – Manish Goswami
      May 13 at 11:12





      Thanks it is working !!

      – Manish Goswami
      May 13 at 11:12











      3














      Looks like this is Magetno's bug.



      Check Here.



      Fix has been merged with Lattest Magetno 2.2.4.



      If you are running older version than you can modify below file as workarround.




      lib/web/magnifier/magnifier.js




       $box.on('mousemove', onMousemove);
      _init($box, gOptions);


      Reference :- Check This commit that is merged with Magento 2.2.4



      Update:- If you merge this PR and than it will be zoom issue for you. Its not working Looks Like, Fixing one Problem Messed up with other.
      Do it at your own Risk !!!






      share|improve this answer





























        3














        Looks like this is Magetno's bug.



        Check Here.



        Fix has been merged with Lattest Magetno 2.2.4.



        If you are running older version than you can modify below file as workarround.




        lib/web/magnifier/magnifier.js




         $box.on('mousemove', onMousemove);
        _init($box, gOptions);


        Reference :- Check This commit that is merged with Magento 2.2.4



        Update:- If you merge this PR and than it will be zoom issue for you. Its not working Looks Like, Fixing one Problem Messed up with other.
        Do it at your own Risk !!!






        share|improve this answer



























          3












          3








          3







          Looks like this is Magetno's bug.



          Check Here.



          Fix has been merged with Lattest Magetno 2.2.4.



          If you are running older version than you can modify below file as workarround.




          lib/web/magnifier/magnifier.js




           $box.on('mousemove', onMousemove);
          _init($box, gOptions);


          Reference :- Check This commit that is merged with Magento 2.2.4



          Update:- If you merge this PR and than it will be zoom issue for you. Its not working Looks Like, Fixing one Problem Messed up with other.
          Do it at your own Risk !!!






          share|improve this answer















          Looks like this is Magetno's bug.



          Check Here.



          Fix has been merged with Lattest Magetno 2.2.4.



          If you are running older version than you can modify below file as workarround.




          lib/web/magnifier/magnifier.js




           $box.on('mousemove', onMousemove);
          _init($box, gOptions);


          Reference :- Check This commit that is merged with Magento 2.2.4



          Update:- If you merge this PR and than it will be zoom issue for you. Its not working Looks Like, Fixing one Problem Messed up with other.
          Do it at your own Risk !!!







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Aug 23 '18 at 10:17

























          answered May 24 '18 at 10:39









          TBS MageTBS Mage

          12215




          12215





















              2














              With the latest version, the above solution still didn't work, I had to specify the magnifier preview class specifically like this:



              $box.on('mousemove', onMousemove);
              $box.on('mouseleave', mouseleave);
              function mouseleave(e)
              onThumbLeave();
              isOverThumb = false;
              $('.magnifier-preview').addClass(MagnifyCls.magnifyHidden);

              _init($box, customUserOptions);





              share|improve this answer























              • This does not work for me on a fresh install of 2.3.0. Any suggestions?

                – Rudy C.
                Jan 18 at 16:19















              2














              With the latest version, the above solution still didn't work, I had to specify the magnifier preview class specifically like this:



              $box.on('mousemove', onMousemove);
              $box.on('mouseleave', mouseleave);
              function mouseleave(e)
              onThumbLeave();
              isOverThumb = false;
              $('.magnifier-preview').addClass(MagnifyCls.magnifyHidden);

              _init($box, customUserOptions);





              share|improve this answer























              • This does not work for me on a fresh install of 2.3.0. Any suggestions?

                – Rudy C.
                Jan 18 at 16:19













              2












              2








              2







              With the latest version, the above solution still didn't work, I had to specify the magnifier preview class specifically like this:



              $box.on('mousemove', onMousemove);
              $box.on('mouseleave', mouseleave);
              function mouseleave(e)
              onThumbLeave();
              isOverThumb = false;
              $('.magnifier-preview').addClass(MagnifyCls.magnifyHidden);

              _init($box, customUserOptions);





              share|improve this answer













              With the latest version, the above solution still didn't work, I had to specify the magnifier preview class specifically like this:



              $box.on('mousemove', onMousemove);
              $box.on('mouseleave', mouseleave);
              function mouseleave(e)
              onThumbLeave();
              isOverThumb = false;
              $('.magnifier-preview').addClass(MagnifyCls.magnifyHidden);

              _init($box, customUserOptions);






              share|improve this answer












              share|improve this answer



              share|improve this answer










              answered Nov 1 '18 at 0:01









              user73198user73198

              212




              212












              • This does not work for me on a fresh install of 2.3.0. Any suggestions?

                – Rudy C.
                Jan 18 at 16:19

















              • This does not work for me on a fresh install of 2.3.0. Any suggestions?

                – Rudy C.
                Jan 18 at 16:19
















              This does not work for me on a fresh install of 2.3.0. Any suggestions?

              – Rudy C.
              Jan 18 at 16:19





              This does not work for me on a fresh install of 2.3.0. Any suggestions?

              – Rudy C.
              Jan 18 at 16:19











              1














              $box.on('mousemove', onMousemove);
              $box.on('mouseleave', mouseleave);
              function mouseleave(e)
              onThumbLeave();
              isOverThumb = false;
              $largeWrapper.addClass(MagnifyCls.magnifyHidden);

              _init($box, gOptions);


              This code Working fine.



              Thanks,






              share|improve this answer





























                1














                $box.on('mousemove', onMousemove);
                $box.on('mouseleave', mouseleave);
                function mouseleave(e)
                onThumbLeave();
                isOverThumb = false;
                $largeWrapper.addClass(MagnifyCls.magnifyHidden);

                _init($box, gOptions);


                This code Working fine.



                Thanks,






                share|improve this answer



























                  1












                  1








                  1







                  $box.on('mousemove', onMousemove);
                  $box.on('mouseleave', mouseleave);
                  function mouseleave(e)
                  onThumbLeave();
                  isOverThumb = false;
                  $largeWrapper.addClass(MagnifyCls.magnifyHidden);

                  _init($box, gOptions);


                  This code Working fine.



                  Thanks,






                  share|improve this answer















                  $box.on('mousemove', onMousemove);
                  $box.on('mouseleave', mouseleave);
                  function mouseleave(e)
                  onThumbLeave();
                  isOverThumb = false;
                  $largeWrapper.addClass(MagnifyCls.magnifyHidden);

                  _init($box, gOptions);


                  This code Working fine.



                  Thanks,







                  share|improve this answer














                  share|improve this answer



                  share|improve this answer








                  edited May 31 '18 at 5:03









                  Manoj Deswal

                  4,38491844




                  4,38491844










                  answered May 31 '18 at 4:58









                  priyapriya

                  667




                  667





















                      1














                      Where can you find the originel magnifier.js? We have this issue and use Ultimo theme. However app/design/frontend/Infortis/ultimo is how far we get. Then ofcourse I can create the web/magnifier/ folders but from where to get the right magnifier.js?



                      Anybody a good to go example? Thanks






                      share|improve this answer























                      • Original magnifier.js is under MagentoRoot/lib/web/magnifier/ folder.

                        – Nitin Vala
                        Dec 27 '18 at 12:20















                      1














                      Where can you find the originel magnifier.js? We have this issue and use Ultimo theme. However app/design/frontend/Infortis/ultimo is how far we get. Then ofcourse I can create the web/magnifier/ folders but from where to get the right magnifier.js?



                      Anybody a good to go example? Thanks






                      share|improve this answer























                      • Original magnifier.js is under MagentoRoot/lib/web/magnifier/ folder.

                        – Nitin Vala
                        Dec 27 '18 at 12:20













                      1












                      1








                      1







                      Where can you find the originel magnifier.js? We have this issue and use Ultimo theme. However app/design/frontend/Infortis/ultimo is how far we get. Then ofcourse I can create the web/magnifier/ folders but from where to get the right magnifier.js?



                      Anybody a good to go example? Thanks






                      share|improve this answer













                      Where can you find the originel magnifier.js? We have this issue and use Ultimo theme. However app/design/frontend/Infortis/ultimo is how far we get. Then ofcourse I can create the web/magnifier/ folders but from where to get the right magnifier.js?



                      Anybody a good to go example? Thanks







                      share|improve this answer












                      share|improve this answer



                      share|improve this answer










                      answered Nov 16 '18 at 17:22









                      EmileEmile

                      716




                      716












                      • Original magnifier.js is under MagentoRoot/lib/web/magnifier/ folder.

                        – Nitin Vala
                        Dec 27 '18 at 12:20

















                      • Original magnifier.js is under MagentoRoot/lib/web/magnifier/ folder.

                        – Nitin Vala
                        Dec 27 '18 at 12:20
















                      Original magnifier.js is under MagentoRoot/lib/web/magnifier/ folder.

                      – Nitin Vala
                      Dec 27 '18 at 12:20





                      Original magnifier.js is under MagentoRoot/lib/web/magnifier/ folder.

                      – Nitin Vala
                      Dec 27 '18 at 12:20

















                      draft saved

                      draft discarded
















































                      Thanks for contributing an answer to Magento Stack Exchange!


                      • Please be sure to answer the question. Provide details and share your research!

                      But avoid


                      • Asking for help, clarification, or responding to other answers.

                      • Making statements based on opinion; back them up with references or personal experience.

                      To learn more, see our tips on writing great answers.




                      draft saved


                      draft discarded














                      StackExchange.ready(
                      function ()
                      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f227354%2fproduct-image-zoom-issue-on-product-details-page-when-drop-down-menu-have-overla%23new-answer', 'question_page');

                      );

                      Post as a guest















                      Required, but never shown





















































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown

































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown







                      Popular posts from this blog

                      Category:9 (number) SubcategoriesMedia in category "9 (number)"Navigation menuUpload mediaGND ID: 4485639-8Library of Congress authority ID: sh85091979ReasonatorScholiaStatistics

                      Circuit construction for execution of conditional statements using least significant bitHow are two different registers being used as “control”?How exactly is the stated composite state of the two registers being produced using the $R_zz$ controlled rotations?Efficiently performing controlled rotations in HHLWould this quantum algorithm implementation work?How to prepare a superposed states of odd integers from $1$ to $sqrtN$?Why is this implementation of the order finding algorithm not working?Circuit construction for Hamiltonian simulationHow can I invert the least significant bit of a certain term of a superposed state?Implementing an oracleImplementing a controlled sum operation

                      Magento 2 “No Payment Methods” in Admin New OrderHow to integrate Paypal Express Checkout with the Magento APIMagento 1.5 - Sales > Order > edit order and shipping methods disappearAuto Invoice Check/Money Order Payment methodAdd more simple payment methods?Shipping methods not showingWhat should I do to change payment methods if changing the configuration has no effects?1.9 - No Payment Methods showing upMy Payment Methods not Showing for downloadable/virtual product when checkout?Magento2 API to access internal payment methodHow to call an existing payment methods in the registration form?