-
Notifications
You must be signed in to change notification settings - Fork 9.4k
[2.2.4] Gallery Magnifier hover event does not always cancel magnifier when mouse leaves gallery #15035
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I have the same issue (with and without your PR applied). The solution at the bottom of the page mentioned in the original issue #5129 (comment) also doesnt fix this issue. |
Yeah, confirm, works fine if you revert that change. |
Having same issue with Magento 2.2.4. |
@dmanners Can you please assign me this issue? Or add me in the contribution team so that I can self-assign issues to myself. As I have solution for this issue, I need to commit the code and generate pull request for the same. |
For a quick solution you can follow https://magento.stackexchange.com/questions/227354/product-image-zoom-issue-on-product-details-page-when-drop-down-menu-have-overla/227398#227398 this. |
@valanitin |
See #15020 for fix for label under image |
Hello @gwharton, thank you for your report. |
I would like to add a little more insight into this; I think it may be the same issue. When there is more than one product image, and slides are enabled (i.e. such that a left and right arrow is overlaid onto the product image on mouse over), if the magnifier cursor exits the product image via the overlaid arrows, the zoom window gets stuck on as described in the original post. This only appears to happen when the product image ratio is landscape, i.e. such that part of the image is behind the overlaid arrows. Preconditions I noticed this on a Magento 2.2.5 installation with Ultimo theme installed. I then recreated it using a clean installation PHP 7.1, Ubuntu 16.04; mysql 5.7; using composer; Magento CE 2.2.5 install, Lumia theme set Steps to reproduce (modified view.xml as above to enable magnifier) and created a product with a variety of landscape and portrait images. Expected On main product view, zoomed in preview window should close on cursor exiting the area enclosing the product image and left / right image scrolling arrows) Actual When cursor exits via left/right (on landscape image) the preview window stays open. |
This is still broken in 2.2.6, but now reverting the change made in #13084 no longer fixes this issue. |
+1, still happens in 2.2.6 |
Today, we are happy to show you how to fix Magento 2 issue: Magnifier not working for product image on product details page. It's showing overlay image after hovering over product image but it's not zooming the image. Luckily, the solution to fix this is quite easy. You can apply the following way to fix it now. Please go to lib\web\magnifier\magnifier.js and replace it by the following code: Magento 2 Zoom Issue
You can view and download these code here |
This is already fixed in 2.2-develop |
PR for 2.3-develop here #18702 |
I am on 2.2.6 and still having this issue |
Hi @TomashKhamlai. Thank you for working on this issue.
|
Fixed in 2.3.1 (2.3-develop) |
Hi @gwharton , thank you for you report, this issue has already fixed in 2.3-develop branch, and will be available on 2.3.1 release. |
Gallery Magnifier hover event does not always cancel magnifier when mouse leaves gallery
Preconditions
Steps to reproduce
Expected result
Actual result
Video of it happening
The text was updated successfully, but these errors were encountered: