Skip to content
Snippets Groups Projects
Commit d4b23122 authored by Benjamin Vray's avatar Benjamin Vray
Browse files

[FIX] web_editor: fix scrolling the page while dragging a snippet

Since the commit [1], it's no longer possible to scroll the page while
dragging a snippet thanks to its thumbnail.

This is because for mass mailing the scroll element is not the same and
to check it we were looking for a class in the DOM. For that we did a
jQuery 'find' but without a 'length', the jQuery 'find' is always
truthy.

[1]: https://github.com/odoo/odoo/commit/29c6c80ac7009aa5068c763778342f7c6b115fad



task-2798872

closes odoo/odoo#86745

Signed-off-by: default avatarQuentin Smetz (qsm) <qsm@odoo.com>
parent c8166b78
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment