PDA

View Full Version : [INFOREQ][2.3/3.1] IE8 DragDropMgr Bug



slava.hatnuke
21 Dec 2009, 11:11 AM
http://msdn.microsoft.com/en-us/library/ms533544%28VS.85%29.aspx

Ext.dd.DragDropMgr->handleMouseMove(e)


Invalid code.



// check for IE mouseup outside of page boundary
if (Ext.isIE && (e.button !== 0 && e.button !== 1 && e.button !== 2)) {
this.stopEvent(e);
return this.handleMouseUp(e);
}





Valid code. IE8 fix. ( !Ext.isIE8 )



// check for IE mouseup outside of page boundary
if (Ext.isIE && !Ext.isIE8 && (e.button !== 0 && e.button !== 1 && e.button !== 2)) {
this.stopEvent(e);
return this.handleMouseUp(e);
}


Ext version 2.2.1 - 2.3

evant
21 Dec 2009, 1:41 PM
Care to post a test case that demonstrates the issue?

slava.hatnuke
22 Dec 2009, 7:30 AM
The only problem in IE8. In previous versions of IE all works fine.When place holder is removed, my container flies to up. I did not release the mouse button.

mystix
22 Dec 2009, 9:29 AM
@slava.hatnuke: just checking, but did you test this against the 3.1 release as well?
or are you just reporting this as a 2.x bug? (this is the 3.x Bug forum by the way).

slava.hatnuke
22 Dec 2009, 10:08 AM
I'm sorry. Bug applies to version 2.x. I have not tested 3.x version.

mystix
22 Dec 2009, 10:22 AM
hmmm.. would you mind testing your findings against the 3.1 release as well to see if it still applies?

slava.hatnuke
22 Dec 2009, 10:47 AM
I installed EXTJS 3.1. Easily reproduced bug.

I believe line 17313 in "ext-3.1.0 \ ext-all-debug.js" contains an bug described above

mystix
22 Dec 2009, 11:24 AM
super. updated the thread title to match. thanks.

mystix
22 Dec 2009, 12:20 PM
@slava.hatnuke: not so super after all -- you only posted a video showing the problem.
could you post the code you used as well?