Skip to content
Permalink
Browse files

[FIX] web_editor: properly position image handle in product configurator

The image handle (grey overlay over the image) was not properly
repositioning on scroll in the product configurator (a side effect of
not having a popover).

closes #31226
  • Loading branch information...
Zinston committed Feb 19, 2019
1 parent d9a77bd commit f5c269db121323d6fcc6d58b0ef335ca3be24db1
Showing with 3 additions and 0 deletions.
  1. +3 −0 addons/web_editor/static/src/js/wysiwyg/plugin/media.js
@@ -90,6 +90,9 @@ var MediaPlugin = AbstractPlugin.extend({
return;
}
if (!this.options.displayPopover(target)) {
if (dom.isImg(target)) {
this.context.invoke('HandlePlugin.update', target);
}
return;
}

0 comments on commit f5c269d

Please sign in to comment.
You can’t perform that action at this time.