RON2015
RON2015

Reputation: 443

Resizable Jquery Boundary

Hello I am setting resizable and draggable boundaries by using ui.position.left which seems to work perfectly with draggable. However the problem is that resizable also stops but the width continues expanding. Is there anyway to stop that from happening? Thanks so much.

EDIT: I can't rely on "containment" because the boundaries are actually other elements within the container.

Upvotes: 1

Views: 113

Answers (1)

RON2015
RON2015

Reputation: 443

I fixed this by storing the ui.size.width each resize and once the boundary is hit I set the width to the previous width.

EDIT: thanks for anyone who looked at my question

Upvotes: 1

Related Questions