documentation/extensions/odoo_theme/static/js
Antoine Vandevenne (anv) 0ef10a1606 [IMP] odoo_theme: scroll the active menu entry into view
In large and deeply nested TOCs like finance/accounting/fiscal_localizations/localizations/...
the user had to constantly scroll the menu to the menu entry they just
clicked because the expanded menu would not fit entirely on the page.
With this commit, the active menu entry is scrolled into view each time
the page is reloaded.

The previous behavior was also the reason for expanding the top menu
entries on only the homepage. Thanks to the scroll, they now always
expand.

Part-of: odoo/documentation#3275
2023-01-09 09:07:01 +01:00
..
layout.js [IMP] Indentation fix 2023-01-05 12:53:11 +01:00
menu.js [IMP] odoo_theme: scroll the active menu entry into view 2023-01-09 09:07:01 +01:00
page_toc.js [FIX] odoo_theme: update the aria attributes when scrolling the page TOC 2022-12-27 13:18:14 +01:00
switchers.js [FIX] odoo_theme: re-enable redirect fallback logic 2023-01-06 12:29:46 +01:00
utils.js [FIX] odoo_theme: correctly consider baseurl 2022-05-20 12:11:29 +02:00