Results 1 to 10 of 13

Thread: [REOPEN-103][3.0.0] DD of Resizable does not listen to constrainTo

Threaded View

Previous Post Previous Post   Next Post Next Post
    Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Ext JS Premium Member robincasey's Avatar
    Join Date
    Nov 2007
    Netherlands, Arnhem
    Vote Rating

    Default [REOPEN-103][3.0.0] DD of Resizable does not listen to constrainTo

    On the ExtJS examples page of Resizables, run:
    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
    I am expecting the Resizable, when draggable, not to be able to be dragged out of the constrainTo area.

    transparent.dd.constrainTo(transparent.constrainTo); is a possible patch
    Last edited by robincasey; 22 Jul 2009 at 3:33 AM. Reason: Added possible patch

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts