[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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user