Skip to content Skip to sidebar Skip to footer

Dragging Text Prevents Mouseup From Trigging - Javascript - Chrome

I'm experiencing an issue with chromes click behavior. There are cases (havnt been able to isolate the exact conditions, maybe dragging, dblclick, too quick... no idea) chrome will

Solution 1:

//document.ondragend = FlickOut; // activate flick behaviourdocument.ondragend = function(e)
{
    document.getElementById("dbg").innerHTML += "mouseup -\n";
    FlickOut(e);
    returntrue;
}; // activate flick behaviour

Add this below the document.onmouseup event function.

Here is the forked JS Fiddle solution.

Update

Chrome has a bug at failing to trigger onmouseup when clicking at the scrollbar. Onmousedown works, but no onmouseup event.

Here is the link: Issue 14204: Scrollbar triggers onmousedown, but fails to trigger onmouseup.

The chrome bug is fixed as of February 26, 2013.

Post a Comment for "Dragging Text Prevents Mouseup From Trigging - Javascript - Chrome"