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 stop triggering the onmouseup event, as one can see in the dbg textarea. Tested the issue on ff and ie, which works fine. I did, however, notice that there is a workaround by setting the return value to false. This isn't useful on a website as this would disable any clicking action... Searched every corner of the web without luck :S
Heres the code:
<!DOCTYPE HTML>
<html>
<head>
<title></title>
<script type="text/javascript">
window.onload = function () {
document.onmousedown = function (e) {
document.getElementById("dbg").innerHTML += "mousedown -\n";
return true;
};
document.onmouseup = function (e) {
document.getElementById("dbg").innerHTML += "mouseup -\n";
return true;
};
}
</script>
</head>
<body>
<textarea id="dbg" cols="30" rows="10"></textarea><br>
</body>
</html>
Version: Chrome 16.0.912.75 m Any ideas? Many thanks