Search and Top Navigation
#3150 closed bug (wontfix)
Opened July 31, 2008 12:57AM UTC
Closed January 16, 2009 05:28AM UTC
No Containment on "stop:" for Resizable
Reported by: | fyedernoggersnodden@gmail.com | Owned by: | eduardo |
---|---|---|---|
Priority: | major | Milestone: | 1.7 |
Component: | ui.resizable | Version: | 1.5.2 |
Keywords: | containment extension resizable | Cc: | |
Blocked by: | Blocking: |
Description
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.
Cheers,
SigmaX