97f90b03cf59652cdbe7a1cfbd52b32e94a4c917
To compute a positioning, the usePosition hook uses as the default container the <html/> element... but in the positioning computations it is assumed that the container is scrollable which is not the case for small screens when web_enterprise module is installed, as its webclient_layout.scss applies rules to make sure only the main content is scrollable. When the <html/> element is not scrollable, it can be scrolled out of the viewport, which is problematic as the positioning computations are based on a fixed positionment strategy. The way we chose to fix this is to account the scrollTop position of the container only if the container is the <html/> node. If so, further computations will now take into account the amount of scrolling the <html/> node has, and thus will be correct. See https://developer.mozilla.org/docs/Web/API/Element/scrollTop fur further understanding. X-original-commit: a050094cdaa5dd6b76c3f10fb49d3a9c0813425a Part-of: odoo/odoo#78261
…
…
…
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%