mousemove trigger with 0 position for x or y leads to unexpected behaviour #2338
Labels
stage: needs investigating
Someone from Cypress needs to look at this
stale
no activity on this issue for a long period
topic: drag-and-drop
Current behavior:
I'm trying to drag an object using the following:
x1 and y1 are an offset so I mouse down on the handler. x2 and y2 are the new position (plus the offset). When x2 or y2 are 0, instead of moving to the top or left of the element, it moves to the centre of the element (the default behaviour if no x or y are specified).
Desired behavior:
0 for x2 or y2 should place the action at either the top or left of the element (not in the centre).
Steps to reproduce:
If you need a workable demo, let me know.
Versions
Cypress 3.1.0
Windows 10
The text was updated successfully, but these errors were encountered: