-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Drag events supersede click events #68
Comments
I can reproduce. You could use the new Sortable(containers, {
delay: 200,
});
// or
new Draggable(containers, {
delay: 200,
}); This is not ideal nor obvious. Will look for a better solution 👍 thanks for reporting |
I have the same issue. Adding delay helps with clicking, but if I try to drag without waiting a bit, I get strange "ghosting" effect, where mirror element gets stuck to the cursor and does not disappear. Here's gif: https://i.imgur.com/b0zwVkk.gifv |
@rbarysas yes, this seems to be an issue with the current mouse sensor, it needs to prevent native drag elements (images and links) if the This is fixed with a general sensor refactor for the upcoming I will leave this open until we release the new beta. |
This is awesome. Thanks for the work! 👏 |
@rickghome can you confirm if your problem persists in the new beta release? @rbarysas your issue should be fixed now! |
Will try today.
…Sent from my iPhone
On Nov 1, 2017, at 6:55 AM, Max Hoffmann ***@***.***> wrote:
@rickghome can you confirm if your problem persists in the new beta release?
@rbarysas your issue should be fixed now!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
This solves the problem. Closing this bug. Thanks for your hard work! |
Bug, documentation issue, user error?
I have an element that may become 'active' if clicked by the user. I also want to allow that element to be draggable. Currently, it seems that drag events are superseding click events (and in this case, impedes them, regardless of binding order). It's essential to my user experience that click events precede drag events. I'm guessing this isn't an edge-case.
The text was updated successfully, but these errors were encountered: