Skip to content
Snippets Groups Projects
Commit f5c269db authored by Antoine Guenet's avatar Antoine Guenet
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 odoo/odoo#31226
parent d9a77bd8
No related branches found
No related tags found
No related merge requests found
......@@ -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% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment