diff --git a/addons/web_editor/static/src/js/editor/snippets.editor.js b/addons/web_editor/static/src/js/editor/snippets.editor.js index 95db4aee725..1576c59e845 100644 --- a/addons/web_editor/static/src/js/editor/snippets.editor.js +++ b/addons/web_editor/static/src/js/editor/snippets.editor.js @@ -2823,6 +2823,10 @@ var SnippetsMenu = Widget.extend({ trigger: 'manual', placement: 'bottom', title: _t("Drag and drop the building block."), + // Ensure the tooltips have a good position when in iframe. + container: this.el, + // Prevent horizontal scroll when tooltip is displayed. + boundary: this.el.ownerDocument.body, }); // Hide scroll if no snippets defined