-
4.1.1-rc1 bug
The "dd" property on a Window is now "undefined" in the after render method whereas it was not in 4.0.7.
See:
Code:
win = Ext.create("Ext.window.Window",cfg);
/*
win.dd below will be undefined in 4.1.0 and 4.1.1.rc-1 but not in
4.0.7-4.0.0
*/
win.on({
afterrender: function () {
win.dd.xTickSize = me.xTickSize;
win.dd.yTickSize = me.yTickSize;
if (win.resizer) {
win.resizer.widthIncrement = me.xTickSize;
win.resizer.heightIncrement = me.yTickSize;
}
},
single: true
});
-
initDraggable gets executed after the first layout is run now.
-
What does that mean?
Hi Mitchell,
I'm not sure what your reply is saying. Are you saying that this no longer works because initDraggable is called on the first layout or are you saying you fixed this by ensuring initDraggable is called on the first layout? Also in what build is this fixed in if in fact it is fixed?
Thanks.
-
I'm saying initDraggable is called on first layout now
-
Try using afterlayout event instead of afterrender.