Ticket #3150 (closed bug: wontfix)

Opened 5 years ago

Last modified 4 years ago

No Containment on "stop:" for Resizable

Reported by: fyedernoggersnodden@… Owned by: eduardo
Priority: major Milestone: 1.7
Component: ui.resizable Version: 1.5.2
Keywords: containment extension resizable Cc:
Blocking: Blocked by:

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

Change History

comment:1 Changed 5 years ago by Cloudream

  • Milestone set to TDB

comment:2 Changed 4 years ago by scott.gonzalez

  • Milestone changed from TBD to 1.6

comment:3 Changed 4 years ago by eduardo

  • Status changed from new to closed
  • Resolution set to wontfix
Note: See TracTickets for help on using tickets.