We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 53c0b2f commit b979ce9Copy full SHA for b979ce9
app/code/Magento/Swatches/view/base/web/js/swatch-renderer.js
@@ -106,7 +106,7 @@ define([
106
$title = $element.find('.title');
107
$corner = $element.find('.corner');
108
109
- $this.hover(function () {
+ $this.on('mouseenter', function () {
110
if (!$this.hasClass('disabled')) {
111
timer = setTimeout(
112
function () {
@@ -168,7 +168,9 @@ define([
168
$widget.options.delay
169
);
170
}
171
- }, function () {
+ });
172
+
173
+ $this.on('mouseleave', function () {
174
$element.hide();
175
clearTimeout(timer);
176
});
0 commit comments