Web Analytics

Fill the form & Get Installation Support

Any Question or Concerns?
Let's discuss





    Magento 2 magnifier hover not disappear when mouse leaves media box

    Related articles

    When you check image zoom functionality in the product page, normally it should work with the entire section.

    Well, let’s talk about what to do when the magnifier on an image works fine in some places, but it will get disappear from a corner before you leaves the cursor out.

    For that we need to change in a magnifier library file like below,

    For that we need to change in a magnifier library file like below,

    You have to change in lib/web/magnifier/magnifier.js file:

    Add below code after line:556

    Another change is some code needs to be removed and add around line:575

    Remove Code:

    Add Code:

    Also remove:

    Now the last change of this file is:

    Add below line after $box.on(‘mousemove’, onMousemove) code:

    After all changes are applied, please run below commands and check.

     

    Contact us for scientific strategies to increase your site conversions





      Connect With Us