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;
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:
magento2 less-css zoom
add a comment |
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:
magento2 less-css zoom
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
add a comment |
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:
magento2 less-css zoom
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:
magento2 less-css zoom
magento2 less-css zoom
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
add a comment |
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
add a comment |
7 Answers
7
active
oldest
votes
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.
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
|
show 2 more comments
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);
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
add a comment |
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);
Thanks it is working !!
– Manish Goswami
May 13 at 11:12
add a comment |
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 !!!
add a comment |
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);
This does not work for me on a fresh install of 2.3.0. Any suggestions?
– Rudy C.
Jan 18 at 16:19
add a comment |
$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,
add a comment |
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
Original magnifier.js is under MagentoRoot/lib/web/magnifier/ folder.
– Nitin Vala
Dec 27 '18 at 12:20
add a comment |
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
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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.
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
|
show 2 more comments
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.
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
|
show 2 more comments
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.
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.
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
|
show 2 more comments
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
|
show 2 more comments
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);
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
add a comment |
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);
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
add a comment |
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);
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);
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
add a comment |
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
add a comment |
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);
Thanks it is working !!
– Manish Goswami
May 13 at 11:12
add a comment |
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);
Thanks it is working !!
– Manish Goswami
May 13 at 11:12
add a comment |
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);
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);
answered Dec 3 '18 at 5:50
Aniket PrajapatiAniket Prajapati
14618
14618
Thanks it is working !!
– Manish Goswami
May 13 at 11:12
add a comment |
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
add a comment |
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 !!!
add a comment |
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 !!!
add a comment |
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 !!!
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 !!!
edited Aug 23 '18 at 10:17
answered May 24 '18 at 10:39
TBS MageTBS Mage
12215
12215
add a comment |
add a comment |
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);
This does not work for me on a fresh install of 2.3.0. Any suggestions?
– Rudy C.
Jan 18 at 16:19
add a comment |
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);
This does not work for me on a fresh install of 2.3.0. Any suggestions?
– Rudy C.
Jan 18 at 16:19
add a comment |
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);
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);
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
add a comment |
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
add a comment |
$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,
add a comment |
$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,
add a comment |
$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,
$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,
edited May 31 '18 at 5:03
Manoj Deswal
4,38491844
4,38491844
answered May 31 '18 at 4:58
priyapriya
667
667
add a comment |
add a comment |
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
Original magnifier.js is under MagentoRoot/lib/web/magnifier/ folder.
– Nitin Vala
Dec 27 '18 at 12:20
add a comment |
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
Original magnifier.js is under MagentoRoot/lib/web/magnifier/ folder.
– Nitin Vala
Dec 27 '18 at 12:20
add a comment |
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
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
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
add a comment |
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
add a comment |
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.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
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