summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_controller.js
diff options
context:
space:
mode:
authorAaron Bohy <aab@odoo.com>2020-07-24 12:44:32 +0000
committerAaron Bohy <aab@odoo.com>2020-07-24 14:46:10 +0000
commit3d3348c2d249921c9d049de853c0085d8319dc1c (patch)
treebcd80053bab1331be02463bcf5ae98770348f436 /addons/web/static/src/js/views/basic/basic_controller.js
parente9859a097976613ff9cf8fd35854546794f6775a (diff)
[FIX] web_tour: do not reposition hidden tips
The tour system is made such that we always have at most one tip displayed on every screen. Since commit [1], "inactive tips" (i.e. tips that aren't displayed because there's already an higher priority tip displayed), are rendered, but turned invisible (s.t. their action is still consumed when their anchor is clicked on), whereas before [1], those inactive tips weren't rendered. As a consequence, in the enterprise Home Menu with **a lot** of apps installed (e.g. on runbot), it lags when the user scrolls, because all those invisible tips still do a lot of computation to reposition themselves. This commit skips these positionning computation for invisible tips. [1] 3bf1d8418f41bcaa0ba4b153620def11aaea0a2b Issue spotted while testing task 2263600 closes odoo/odoo#54920 X-original-commit: cac1689718299fcf509de8228ed6cf2bfdb7c57c Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com> Signed-off-by: Aaron Bohy (aab) <aab@odoo.com>
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions