Version
1.1.2
Short overview
nut.js does not properly perform drag & drop gestures on macOS and Windows
Detailed error description
While the mouse correctly moves from source to target, it does not keep the button state and therefore performs just a move, not a drag.
Steps to reproduce error
const {mouse, screen, straightTo, centerOf, right} = require("@nut-tree/nut-js");
(async () => {
screen.config.resourceDirectory = "$resourceFolder";
await mouse.move(straightTo(centerOf(screen.find("$image"))));
await mouse.drag(right(1000));
})();
Version
1.1.2
Short overview
nut.js does not properly perform drag & drop gestures on macOS and Windows
Detailed error description
While the mouse correctly moves from source to target, it does not keep the button state and therefore performs just a move, not a drag.
Steps to reproduce error