2 Replies Latest reply on May 2, 2010 11:58 PM by mangemuck

    Drag constraints




      I've got a few quick answers here before, so I'll try with another problem.


      I'm trying to implement drag functionality into my application and found these examples in the live docs:



      But dragging is allowed "outside" the canvas which just adds a scrollbar to it.


      I want to restrict the allowed area so it just can be dragged inside the visible area. How do I do this?


      Best regards,