documentation/extensions/odoo_theme/static/js
Antoine Vandevenne (anv) dca158c867 [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#3252
2023-01-02 18:47:57 +01:00
..
layout.js [FIX] odoo_theme: only open images that have no target in modal 2022-07-13 18:36:00 +02:00
menu.js [IMP] odoo_theme: scroll the active menu entry into view 2023-01-02 18:47:57 +01:00
page_toc.js [FIX] odoo_theme: update the aria attributes when scrolling the page TOC 2022-12-27 13:04:22 +01:00
switchers.js [IMP] documentation: legal page design 2022-12-07 15:21:24 +01:00
utils.js [FIX] odoo_theme: correctly consider baseurl 2022-05-20 11:56:45 +02:00