I'm building a widget editor for ext and one of the functionalities is to drag and resize widgets real-time. However, when I add both drag and resize to a single layer the following problem arises in this case:
1.User drags layer
2.User resizes layer
3.user drags layer ----> now the drag-layer moves to a wrong location
when repeating steps 1-3 the layer will eventually move out of the screen boundaries
I'm building a widget editor for ext and one of the functionalities is to drag and resize widgets real-time. However, when I add both drag and resize to a single layer the following problem arises in this case:
1.User drags layer
2.User resizes layer
3.user drags layer ----> now the drag-layer moves to a wrong location
when repeating steps 1-3 the layer will eventually move out of the screen boundaries
I, too, have a similar question; however, mine is having to do with being able to confine the resize and drag effects within the boundaries of another element on the page. I'm running against a wall on this one due to the numerous triggers that have to be checked at a given time. Any suggestions?