I am playing around with a resizable image (that is draggable) and having it constrained to a container element.

If you goto this link: http://www.qwikioffice.com/forum-exa...inTo-test.html
you will notice the following:

1.) When the page loads you can drag the image around, and it is constrained to the container (light grey backround).

2.) But if you resize the image and then drag it around the container, you can see that the constraint is tied to the original dimensions of the image.

Is this a possible bug?

I have been able to listen for the resize event and simply call constrainTo again to fix this, but is this the proper way to do it.