Skip to content
Snippets Groups Projects
Commit ba3b6233 authored by abd-msyukyu-odoo's avatar abd-msyukyu-odoo
Browse files

[FIX] web: consider overflow visible dimensions for draggable


In a Kanban View, the container in which elements are dragged is a `d-flex`
element, and as such it has the `overflow: visible` css property by default.
This means that if there are more groups than the current dimensions of the
viewport allows for, those groups will overflow outside the dimensions of the
container, preventing elements from being dragged outside.

Therefore the dimensions of the draggable area should consider the container
`scrollWidth` and `scrollHeight`, as these values take into account the
dimension of overflowing elements.

task-3339978

closes odoo/odoo#122576

Signed-off-by: default avatarJulien Mougenot (jum) <jum@odoo.com>
parent cff6ce2b
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