Ticket #3150 (closed bug: wontfix)
No Containment on "stop:" for Resizable
|Reported by:||fyedernoggersnodden@…||Owned by:||eduardo|
|Keywords:||containment extension resizable||Cc:|
I'd never looked at the code behind JQuery until a couple hours ago, so apologies if this is sketchy.
When looking at the example at http://ui.jquery.com/repository/real-world/image-cropper/, one sees that the dimensions of the resizable div are too big if it's resized off the edge of the containment div, even after releasing the mouse. Ergo the values returned are pretty useless if, say, you're trying to crop an image.
A better solution is needed, but I hacked up a quick fix by copying and pasting the functionality of "resize:" into "stop:" in JQuery.