Skip to content
Snippets Groups Projects
Commit 2598cc9e authored by Mehdi Outagant (MOU)'s avatar Mehdi Outagant (MOU)
Browse files

[FIX] web, website: fix menu auto hide in edit mode


Steps to reproduce:

- Go to Website > Add menu items in a way that activates “auto-hide” (to
set the overflowing menu items in a “+” dropdown) if the viewport was
resized.
- Go to “edit” mode (adding the sidebar reduces the current window
width) > The “auto-hide” menu adaptation is disabled, and overflowing
menu items are still visible.

The goal of this commit is to fix the behaviour described above (and
potentially, issues that can result from the editor's "unbreakable"
rollbacks on top menu) by preventing the unbreakable mechanism from
detecting header changes and cancelling the auto-hide updates.

Related to opw-3484742

closes odoo/odoo#135904

X-original-commit: 4f6629d3
Signed-off-by: default avatarQuentin Smetz (qsm) <qsm@odoo.com>
parent 5f1233b7
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment