summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/libs
diff options
context:
space:
mode:
authorSiddarth Gajjar <sga@odoo.com>2018-08-06 15:48:57 +0530
committerqsm-odoo <qsm@odoo.com>2018-08-07 10:03:59 +0200
commit0d8b1f5ba3d49a09d3a221b0ecdf382563201765 (patch)
tree54b99fc9eff47f3c4e4fe661496f63956133b3f9 /addons/web/static/src/js/libs
parent57400c15600e11dab891261272c6f461764a67ad (diff)
[FIX] web: BS4, fix tooltip flickering issues
Closes #26186
Diffstat (limited to 'addons/web/static/src/js/libs')
-rw-r--r--addons/web/static/src/js/libs/bootstrap.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/addons/web/static/src/js/libs/bootstrap.js b/addons/web/static/src/js/libs/bootstrap.js
index 135a6b65df6..3dd2c7049e1 100644
--- a/addons/web/static/src/js/libs/bootstrap.js
+++ b/addons/web/static/src/js/libs/bootstrap.js
@@ -7,11 +7,12 @@ odoo.define('web.bootstrap.extensions', function () {
*/
/* Bootstrap defaults overwrite */
-$.fn.tooltip.Constructor.Default.placement = 'top';
+$.fn.tooltip.Constructor.Default.placement = 'auto';
$.fn.tooltip.Constructor.Default.fallbackPlacement = ['bottom', 'right', 'left', 'top'];
$.fn.tooltip.Constructor.Default.html = true;
-$.fn.tooltip.Constructor.Default.trigger = 'hover focus click';
+$.fn.tooltip.Constructor.Default.trigger = 'hover';
$.fn.tooltip.Constructor.Default.container = 'body';
+$.fn.tooltip.Constructor.Default.boundary = 'window';
$.fn.tooltip.Constructor.Default.delay = { show: 1000, hide: 0 };
var bootstrapShowFunction = $.fn.tooltip.Constructor.prototype.show;