Extjs4.2 Desktop icon dragging white screen Solution
Last time I made a desktop demo of extjs4.2, I stripped the desktop from the original package, and changed the desktop icon columns and dragged the desktop icon, however, if you drag the desktop icon, a white screen is displayed. After testing, this problem extjs4.2 and Extjs5.0 both exist,
After repeated debugging, I found that the added code is correct. The problem lies in the Custom class of extjs, in Ext of extjs4.1. define ('ext. dd. dragZone '... in the definition
AfterRepair: function () {var me = this; if (Ext. enableFx) {Ext. fly (me. dragData. ddel ). highlight (me. repairHighlightColor);} me. dragging = false ;},
This code is to deal with the subsequent work after dragging, and in the 'ext. dd. in the definition of DragZone, I don't know why. Without this code, I just need to add this code and the problem will no longer appear. After a day, the problem can be solved perfectly. In fact, the problem is not complicated, it is difficult to find the problem.
Is EXTjs4.2 desktop, which achieves the effect of wrapping and dragging the icon
Extjs5.0 has the same problem. It should be the same reason, but not tested.
The demo code is available in my resource downloads.