{
  "attachments": [],
  "comments_archived": true,
  "date": "2006-12-19T16:21:40.000Z",
  "layout": "post",
  "tags": [
    "asides",
    "webdev",
    "firefox",
    "javascript",
    "dhtml",
    "xoxooutliner"
  ],
  "title": "drag and drop and the missing mouseup",
  "wordpress_id": 1026,
  "wordpress_slug": "drag-and-drop-and-the-missing-mouseup",
  "wordpress_url": "http://decafbad.com/blog/2006/12/19/drag-and-drop-and-the-missing-mouseup",
  "year": "2006",
  "month": "12",
  "day": "19",
  "isDir": false,
  "slug": "drag-and-drop-and-the-missing-mouseup",
  "type": "entry",
  "postName": "2006-12-19-drag-and-drop-and-the-missing-mouseup",
  "html": "<blockquote cite=\"http://www.thinkvitamin.com/features/design/create-cross-browser-vector-graphics#comment-34453\">With the draggable circles - click, drag, move the mouse outside the rectangle, release the mouse button. Now move the mouse back inside the rectangle, and it still thinks your dragging, even though you’ve mouse-up’d.\n\n<p>I guess this is because it’s not catching the onmouseup when you’re outside it’s “domain”. Perhaps make it automatically trigger the mouseup when the pointer leaves the area?</p></blockquote><p></p>\n<div class=\"quotesource\">Source: <a href=\"http://www.thinkvitamin.com/features/design/create-cross-browser-vector-graphics#comment-34453\">Vitamin Features » Create cross browser vector graphics - Comment by Steve</a></div>\n\n\n\n<p>So, that <code>dojo.gfx</code> thing is cool - but what caught my eye in the above-linked article is the above-quoted comment.  Drag and drop and missed mouseups seem to be an issue everywhere.  I can't seem to get around them in my <a href=\"http://decafbad.com/trac/wiki/XoxoOutliner\">XoxoOutliner</a> drag code, <a href=\"http://developer.yahoo.com/yui/examples/dragdrop/drag.html?mode=dist\">YUI DnD examples</a> seem to suffer from it, and hell - even Firefox itself doesn't seem immune:  Try drag-selecting some text, wander off-window with the mouse, release the mouse button.  For me at least, on my Mac, the drag-selection keeps doing its thing when I wander back on-window.   No me gusta.</p>\n",
  "body": "<blockquote cite=\"http://www.thinkvitamin.com/features/design/create-cross-browser-vector-graphics#comment-34453\">With the draggable circles - click, drag, move the mouse outside the rectangle, release the mouse button. Now move the mouse back inside the rectangle, and it still thinks your dragging, even though you’ve mouse-up’d.<br /><br />I guess this is because it’s not catching the onmouseup when you’re outside it’s “domain”. Perhaps make it automatically trigger the mouseup when the pointer leaves the area?</blockquote><div class=\"quotesource\">Source: <a href=\"http://www.thinkvitamin.com/features/design/create-cross-browser-vector-graphics#comment-34453\">Vitamin Features » Create cross browser vector graphics - Comment by Steve</a></div>\r\n\r\nSo, that <code>dojo.gfx</code> thing is cool - but what caught my eye in the above-linked article is the above-quoted comment.  Drag and drop and missed mouseups seem to be an issue everywhere.  I can't seem to get around them in my [XoxoOutliner](http://decafbad.com/trac/wiki/XoxoOutliner) drag code, [YUI DnD examples](http://developer.yahoo.com/yui/examples/dragdrop/drag.html?mode=dist) seem to suffer from it, and hell - even Firefox itself doesn't seem immune:  Try drag-selecting some text, wander off-window with the mouse, release the mouse button.  For me at least, on my Mac, the drag-selection keeps doing its thing when I wander back on-window.   No me gusta.\n",
  "parentPath": "./content/posts/archives/2006",
  "path": "2006/12/19/drag-and-drop-and-the-missing-mouseup",
  "needsBuild": true,
  "prevPostPath": "2006/12/02/yahoo-tv-refreshed-redux-and-rejected",
  "prevPostTitle": "yahoo TV refreshed, redux and rejected",
  "nextPostPath": "2006/12/20/tagometers-and-travesties",
  "nextPostTitle": "Tagometers and Travesties"
}