diff options
| author | Aurélien Warnon <awa@odoo.com> | 2021-03-08 14:58:48 +0000 |
|---|---|---|
| committer | Aurélien Warnon <awa@odoo.com> | 2021-03-08 15:04:33 +0000 |
| commit | cdb7a8ad7647649ad8f595454aa9dc0464117568 (patch) | |
| tree | 234df956affec27720f9271a4ce6fcdb5216f310 /addons/crm | |
| parent | fa42fd0575769d737112125dded63eef05a6dd3d (diff) | |
[FIX] crm: reposition tooltip to avoid resize flicker
The tour bubble "animation" that makes it to bounce up and down can cause
issues when its position is at the edge of the bottom of the screen.
In the CRM tour, this would make the window constantly resize to show a
scrollbar and then resize to hide the scrollbar, creating quite a sickening
effect visually.
While waiting for a more "robust" solution on the framework side, we solve this
occurrence of the issue by simply moving the tooltip position on top of the
button instead of below it.
Task-2476595
closes odoo/odoo#67483
Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
Diffstat (limited to 'addons/crm')
| -rw-r--r-- | addons/crm/static/src/js/tours/crm.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/crm/static/src/js/tours/crm.js b/addons/crm/static/src/js/tours/crm.js index ced614ac8c3..8c2e13506fb 100644 --- a/addons/crm/static/src/js/tours/crm.js +++ b/addons/crm/static/src/js/tours/crm.js @@ -60,7 +60,7 @@ tour.register('crm_tour', { }, { trigger: '.modal-footer button[name="action_close_dialog"]', content: _t("All set. Let’s <b>Schedule</b> it."), - position: "bottom", + position: "top", // dot NOT move to bottom, it would cause a resize flicker, see task-2476595 run: function (actions) { actions.auto('.modal-footer button[special=cancel]'); }, |
