PDA

View Full Version : [STALE-495][3.1] Ext.dd.DragDropMgr fires handleMouseUp too early in IE8



oyvind.kinsey
27 Jan 2010, 8:00 AM
The function handleMouseMove in the DragDropMgr uses the following to detect a mouseUp event in IE

if (Ext.isIE && (e.button !== 0 && e.button !== 1 && e.button !== 2)) {
this.stopEvent(e);
return this.handleMouseUp(e);
}

Since IE8 (in IE8 Standards mode) behaves according to the standard this does not work and should be changed to

if (Ext.isIE && !Ext.isIE8 && (e.button !== 0 && e.button !== 1 && e.button !== 2)) {
this.stopEvent(e);
return this.handleMouseUp(e);
}


This is especially a problem when you are moving the dom-objects that are placed under the cursor during a drag-drop operation.

evant
4 May 2010, 10:29 PM
I wasn't able to reproduce this, dragging outside the window then back in would cause the dragged element to still be active, even in IE8 standards mode. Care to post a test case?

evant
1 Jun 2010, 10:36 PM
Since there's been no extra info, this will closed. Please log a new ticket if you have a test case or any other details.