#4603 closed bug (fixed)
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 (11)
comment:1 Changed 14 years ago by
comment:2 Changed 14 years ago by
Milestone: | TBD → 1.8 |
---|
Changed 14 years ago by
Attachment: | resizable_ticket_4603.html added |
---|
html visual test of ticket #4603
comment:3 Changed 14 years ago by
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.
comment:4 Changed 13 years ago by
comment:7 Changed 11 years ago by
Milestone: | 1.9.0 → 2.0.0 |
---|
comment:8 Changed 11 years ago by
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/.
comment:9 Changed 11 years ago by
Resolution: | → fixed |
---|---|
Status: | open → closed |
Resizable: Respect containment for alsoResize option. Fixes #4603 - Resizable: alsoResize option doesn't work with containment. Fixes #5559 - Dialog: Content grows bigger than widget on resize at document edge.
Changeset: 5ba267e7c78f0bc257383c822d241c5369e8e49d
comment:10 Changed 11 years ago by
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.