Threaded View
-
22 Jul 2009 2:54 AM #1
[REOPEN-103][3.0.0] DD of Resizable does not listen to constrainTo
[REOPEN-103][3.0.0] DD of Resizable does not listen to constrainTo
On the ExtJS examples page of Resizables, run:
I am expecting the Resizable, when draggable, not to be able to be dragged out of the constrainTo area.Code:var div = Ext.DomHelper.insertBefore(document.body.firstChild, { tag: "div", style: "background:#ff0;width: 200px;height: 300px;" }); var img = Ext.DomHelper.append(div, { tag: "img", src: "zack.jpg", height: 100 }) var transparent = new Ext.Resizable(img, { wrap: true, dynamic: true, draggable: true, constrainTo: div });
Added:
transparent.dd.constrainTo(transparent.constrainTo); is a possible patchLast edited by robincasey; 22 Jul 2009 at 3:33 AM. Reason: Added possible patch
Thank you for reporting this bug. We will make it our priority to review this report.


Reply With Quote