Closed David-Carty closed 2 years ago
Hi @David-Carty, thank you for the comment.
You have to call position
method if you changed the layout.
Hi Anseki, thanks for the quick response. I did notice the position method. Don't know if it will solve my issue. Let me try and explain a little better. In this fiddle:
https://jsfiddle.net/xhLdr03a/1/
I have the resize and containment working, but I also want to drag the blue box whilst still containing it. Is there any way to have the combination of drag, resize and containment? Thanks in advance David
I see. Try this: https://jsfiddle.net/etwyb3sm/
Hi Anseki, thanks for that. Looks great. David
:smile:
Hey, great functionality. However, I am struggling to maintain containment when I make the div resizable? In short, I need drag, resize and containment functionality. Thanks in advance, David.