d21007f397cde14c8930c717a1d267cb31fdd94a
When the editor is displayed in a modal, the floating toolbar needs a higher z-index than the modal in order to be visible. This is due to the fact that the toolbar is mounted on the 'body' element (therefore, behind the modal in terms of z-index). The mobile toolbar, on the other hand, is mounted as a sibling of the editable's element, which means it is always visible when the html field is in a modal, without the need for a z-index. In fact, the mobile toolbar, being fixed (no auto-hide) and having a z-index higher than modals, leads to the undersired effect of being visible over modals that are displayed on top of the html field. An example can be seen in the Project app, where the editor is inside the task's description tab and a modal can be opened for the customer. This commit fixes such undesired visibility of the mobile toolbar over modals by not applying the z-index to the toolbar when it's not necessary (when not a direct child of the 'body' element). task-3263463 closes odoo/odoo#133459 X-original-commit: ae569fd97737bc3fe02f12531857b8cc416c80e6 Signed-off-by: David Monjoie (dmo) <dmo@odoo.com>
…
…
…
Odoo
Odoo is a suite of web based open source business apps.
The main Odoo Apps include an Open Source CRM, Website Builder, eCommerce, Warehouse Management, Project Management, Billing & Accounting, Point of Sale, Human Resources, Marketing, Manufacturing, ...
Odoo Apps can be used as stand-alone applications, but they also integrate seamlessly so you get a full-featured Open Source ERP when you install several Apps.
Getting started with Odoo
For a standard installation please follow the Setup instructions from the documentation.
To learn the software, we recommend the Odoo eLearning, or Scale-up, the business game. Developers can start with the developer tutorials
Languages
Python
49.6%
JavaScript
47.8%
SCSS
2%
CSS
0.3%
HTML
0.2%