Before this commit, the menu direction of header dropdowns was related to the window width but it was wrong because of the right panel. We also enable it in editor mode. task-2312878 closes odoo/odoo#59846 X-original-commit: ced500e9bcbb5c84033463689d135ad4c7dc4f39 Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>