Search and Top Navigation
#4603 closed bug (fixed)
Opened June 15, 2009 09:49AM UTC
Closed December 03, 2012 03:37PM UTC
Last modified December 03, 2012 03:37PM UTC
Resizable: alsoResize option doesn't work with containment
Reported by: | GoZ | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | 1.10.0 |
Component: | ui.resizable | Version: | 1.7.2 |
Keywords: | alsoResize, containment | Cc: | |
Blocked by: | Blocking: |
Description
I have an image in a div. The div is resizable and has properties alsoResize:image and containment:'parent'.
When i resize the div and reach the containment limit, the image continue resizing.
Issue: Put $.ui.plugin.add("resizable", "alsoResize" ...) plugin after $.ui.plugin.add("resizable", "containment" ...) plugin and it works great.
Attachments (1)
Change History (10)
Changed June 15, 2009 10:44AM UTC by comment:1
Changed June 16, 2009 10:45AM UTC by comment:2
milestone: | TBD → 1.8 |
---|
Changed September 30, 2009 06:00PM UTC by comment:3
I can confirm that by moving;
$.ui.plugin.add("resizable", "alsoResize" ...)
to end of the script file after;
$.ui.plugin.add("resizable", "containment" ...)
this bug is fixed.
Changed May 10, 2010 12:31PM UTC by comment:4
Changed May 11, 2010 02:03AM UTC by comment:5
'grid' may be the 'second' plugin.
Changed October 11, 2012 02:52PM UTC by comment:7
milestone: | 1.9.0 → 2.0.0 |
---|
Changed November 01, 2012 01:17AM UTC by comment:8
status: | new → open |
---|---|
summary: | AlsoResize doesn't work fine with containment → Resizable: alsoResize option doesn't work with containment |
Verified this is still an issue in 1.9.1 - http://jsfiddle.net/tj_vantoll/rGJ7g/.
Changed December 03, 2012 03:37PM UTC by comment:9
resolution: | → fixed |
---|---|
status: | open → closed |
Changed December 03, 2012 03:37PM UTC by comment:10
milestone: | 2.0.0 → 1.10.0 |
---|
I forgot a propertie. I use aspectRatio to. So it's why i don't want the image be resized when i reach the containment limit.