magento2: [2.2.4] Gallery Magnifier hover event does not always cancel magnifier when mouse leaves gallery
Gallery Magnifier hover event does not always cancel magnifier when mouse leaves gallery
Preconditions
- Stock Magento 2.2.4 install
- Apply PR #15020 so we are not testing issue ontop of issue
- Change luma theme to enable magnifier
<var name="magnifier">
<var name="fullscreenzoom">20</var> <!-- Zoom for fullscreen (integer)-->
<var name="top"></var> <!-- Top position of magnifier -->
<var name="left"></var> <!-- Left position of magnifier -->
<var name="width"></var> <!-- Width of magnifier block -->
<var name="height"></var> <!-- Height of magnifier block -->
<var name="eventType">hover</var> <!-- Action that atcivates zoom (hover/click) -->
<var name="enabled">true</var> <!-- Turn on/off magnifier (true/false) -->
</var>
- Set current theme to luma
- Create test product with image
Steps to reproduce
- View test product on frontend
- Move mouse over image
- Move mouse away from image over each of the four sides of the image in turn
Expected result
- Magnifier should appear when mouse over image
- Magnifier should disappear when mouse leaves images
Actual result
- Magnifier does not always disappear
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 20 (8 by maintainers)
+1, still happens in 2.2.6
I am on 2.2.6 and still having this issue
Hi @gwharton. Thank you for your report. The issue has been fixed in magento/magento2#18702 by @gwharton in 2.3-develop branch Related commit(s):
The fix will be available with the upcoming 2.3.1 release.
This is still broken in 2.2.6, but now reverting the change made in #13084 no longer fixes this issue.
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.