-
-
Notifications
You must be signed in to change notification settings - Fork 85
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Phantom mouse down with selectFromInside #99
Comments
I'll fix it soon. Thank you :) |
@adela-almasan The dragEnd event occurs earlier than when the moveable.dragStart method is called. If so, block dragStart like this: .on("selectEnd", e => {
if (e.isDragStart) {
e.inputEvent.preventDefault();
e.data.timer = setTimeout(() => {
moveable.dragStart(e.inputEvent);
}, 100);
}
}).on("dragEnd", e => {
clearTimeout(e.data.timer);
}) |
@daybrush That's perfect, thank you! |
@daybrush After upgrading I'm having some issues with |
selecto's new version is released. Check it again. |
Environments
Description
phantom_mouse_down.mov
Hi! I'm using Selecto with
selectFromInside
disabled and since I disabled the option, it seems to have created a phantom mouse down issue, which can become an annoyance very quickly. I cannot replicate it on none of the sandboxes online and I was wondering if you might have an idea what could be the issue in this case.^ Attached you can find a screencast of the issue - I'm never holding down the mouse for a proper drag, the elements are just following my mouse.
The text was updated successfully, but these errors were encountered: