d134987f21b028ae58d5ceb5e21eac6d6448c25e
Since BS5, the <html> receive the 'smooth' CSS value for the 'scroll-behavior' property. As the name indicates, it makes scrolling smooth (on click on anchor link for example) instead of an instant jump (although the exact behavior is left to the browser). The problem is that this auto-smooth from the browser conflicts with the "smooth drag and drop" code (at least if the scrolling target is actually the `<html>` element which is never the case currently). Indeed this code expects to make small instant jump depending on the position of the user cursor. This commit solves the problem by disabling the browser auto smooth for the duration of the drag and drop. Note: a further commit will move back the scrollbar behavior out of the `#wrapwrap`, this is thus especially needed. Note: this bug fix could be back-ported, should the need arise (custo might want to use the 'smooth' 'scroll-behavior' in stable without BS5). Although the only side effect is slower smooth drag and drop. X-original-commit: 81ed9bee81bacca7b55598e9af7cac51cd7805cf Part-of: odoo/odoo#102785
…
…
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%