[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 odoo/odoo#31226
This commit is contained in:
Antoine Guenet
2019-02-19 09:06:49 +00:00
parent d9a77bd846
commit f5c269db12
@@ -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;
}