ea2bcfc83cf69f75a4de2257667dab92b976ac33
Before this commit the floating toolbar position was not being updated on scroll events in certain scenarios. The problem resulted from adding the event listener to the incorrect scroll container, which was calculated only once in the Wysiwyg life cycle, on start. The calculated scrollable container could be incorrect due to: - changes in the web client resulting from the swich from read to edit mode taking place after the Wysiwyg was started, - changes in the web client resulting from a window resize (particularly when, in the form view, the chatter switches position from right to bottom and vice-versa), - the editor being mounted inside an iframe and the scroll container being an element in the top document. - the editor being mounter inside an iframe and the scroll container being the iframe's root element. This commit solves the issue by detecting scroll events anywhere in the document (and in the iframe's document when it applies) and updating the toolbar position when the editable is a descendant of the scrolled element. task-3263463 X-original-commit: 5382c995eecfe2fcea39d9456860b48704645c99 Part-of: odoo/odoo#133459
…
…
…
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%