You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When clicking on a figure, a very small mouse movement between the
mousedown and mouseup events could trigger a drag and drop operation,
canceling the click event. This is particularly annoying when trying
to interact with carousels, as they have a lot of clickable areas.
Most applications use a drag threshold, allowing small mouse movements
to be ignored. This commit adds a drag threshold for figures.
Also fixed some test that checked for the `o-dragging` class on figure.
That class does not exist for figures.
Task: 5059476
Part-of: #7029
Signed-off-by: Lucas Lefèvre (lul) <lul@odoo.com>
0 commit comments