55a02074731a4b0b001c7fd9edb2d11abeed64c3
Before this commit, there was a weird issue with tooltips. If the element was entered very slowly from the left or top, sometimes, the tooltip didn't open. The problem came from the way we closed the tooltip. This was done by checking the x and y mouse positions within a setInterval, and if it wasn't inside the element having the tooltip, the tooltip was closed. When approaching the "?" icon, the mouseenter event was triggered, we registered the setTimeout to open the tooltip. In the next ms, the setInterval callback to check whether the mouse is still hovering the element was executed. We observed that when the mouseenter event is triggered, the x and y mouse positions aren't yet inside the element, for 1 or 2 px (like if the mouseenter was triggered too soon). As in the scenario, we move the mouse very slowly, the setInterval callback determined that the mouse wasn't hovering the element and thus cancelled the setTimeout callback that will open the tooltip. This commit fixes the issue by changing the way we detect that we have to close the tooltips. We now listen to "mouseleave" events, and when triggered on the element with and opened tooltip, we close it. Task 3150954 closes odoo/odoo#111718 X-original-commit: 89770d32cbb368f73ab304ea5c1637bd3cc19bcd Signed-off-by: Jorge Pinna Puissant (jpp) <jpp@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%