Repository navigation
[19.0][FIX] web_responsive: keep the apps menu above the view when installed as an app - #3814
Merged
OCA-git-bot merged 1 commit intoNov 19, 2026
Conversation
…d as an app Since odoo/odoo@1a0f283c8e, the navbar is sticky when Odoo runs as an installed app (display-mode: standalone). A sticky element is a stacking context, and the apps menu is rendered inside the navbar, so its z-index only applies within it: the positioned elements of the current view (form sheet, control panel, dashboard items) were painted over the apps menu, and the apps could only be reached by searching them. Raising the navbar while the apps menu is open puts that stacking context above the view.
Contributor
pedrobaeza
approved these changes
Nov 19, 2026
pedrobaeza
left a comment
Member
There was a problem hiding this comment.
It seems this has reached 19.0 now, so let's fast-track it to fix it.
/ocabot merge patch
Should we put it already in 20 as well?
Contributor
|
Hey, thanks for contributing! Proceeding to merge this for you. |
Contributor
|
Congratulations, your PR was merged at b25d75b. Thanks a lot for contributing to OCA. ❤️ |
Author
Thanks @pedrobaeza |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Foward port of #3805
Since odoo/odoo@1a0f283c8e, the navbar is position: sticky when Odoo runs as an installed app (https://github.com/media (display-mode: standalone)). A sticky element creates a stacking context, and the apps menu of this module is rendered inside the navbar, so its z-index: 1000 only applies within it.
As a result, when Odoo is installed as an app, the positioned elements of the current view (form sheet, control panel, dashboard items) are painted over the full screen apps menu, and the apps can only be reached by searching them. It does not happen in a regular browser tab.
This raises the navbar while the apps menu is open (.o_apps_menu_opened), so its stacking context sits above the view. Once the menu is closed the navbar keeps z-index: auto.
To reproduce: install Odoo as an app from the browser, open any form view and open the apps menu.
Steps to reproduce: