From dd9d4c2566504193aaa8edc945af2601709c0047 Mon Sep 17 00:00:00 2001 From: Nicolas Lempereur Date: Wed, 21 Apr 2021 10:12:09 +0000 Subject: [PATCH] [FIX] sale: reposition tooltip to avoid resize flicker Same reason that cdb7a8ad7647649ad8f595454aa9dc0464117568 The tour bubble animation might cause the page to flicker since the scrollbar might appear disappear depending on size of modal / browser. opw-2469248 closes odoo/odoo#69652 X-original-commit: 7405d2a38728d11a5a96c115d7c0c0320dd5ac8e Signed-off-by: Nicolas Lempereur (nle) --- addons/sale/static/src/js/tours/sale.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/sale/static/src/js/tours/sale.js b/addons/sale/static/src/js/tours/sale.js index 3afe2a7304d..e59bde59a24 100644 --- a/addons/sale/static/src/js/tours/sale.js +++ b/addons/sale/static/src/js/tours/sale.js @@ -38,7 +38,7 @@ tour.register("sale_tour", { trigger: "button[name='document_layout_save']", extra_trigger: ".o_sale_order", content: _t("Good job, let's continue."), - position: "bottom", + position: "top", // dot NOT move to bottom, it would cause a resize flicker }, { trigger: 'a.o_onboarding_step_action.btn[data-method=action_open_sale_onboarding_payment_acquirer]', extra_trigger: ".o_sale_order",