#4666 closed bug (fixed)
Resizable: alsoResize affects only the first element in jQuery object
| Reported by: | Mikko Rantanen | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | 1.11.4 |
| Component: | ui.resizable | Version: | 1.7.2 |
| Keywords: | Cc: | ||
| Blocked by: | Blocking: |
Description
If a jQuery object referring to several elements is used as the parameter to alsoResize, only the first element instance is affected by the resize.
(There also seems to be an undocumented feature with alsoResize that allows passing a dictionary object as the parameter where the keys are used to look up elements and the values restrict the dimensions in which the elements are resized. At least I couldn't find any references to this behavior anywhere.)
Attaching a html page that demonstrates the bug and the current behavior and a patch to fix the bug that should maintain the current behavior.
Change History (10)
comment:1 Changed 7 years ago by scottgonzalez
- Milestone changed from TBD to 1.8
- Priority changed from minor to major
comment:2 Changed 7 years ago by scottgonzalez
comment:3 Changed 7 years ago by scottgonzalez
Also see #3276.
comment:4 Changed 4 years ago by scottgonzalez
- Milestone changed from 1.9.0 to 2.0.0
comment:5 Changed 4 years ago by tj.vantoll
- Keywords haspatch added
- Status changed from new to open
- Summary changed from alsoResize affects only the first element in jQuery object to Resizable: alsoResize affects only the first element in jQuery object
Verified this is still an issue in 1.9.1 - http://jsfiddle.net/tj_vantoll/gH9C3/.
comment:6 Changed 2 years ago by AdamRMerrifield
This is still an issue as of 1.11.0
comment:7 Changed 21 months ago by Ben Mosher
- Resolution set to fixed
- Status changed from open to closed
Resizable: alsoResize more than one element of a jQuery selection
Fixes #4666 Closes gh-1324 Closes gh-1461
Changeset: 19783fd3e6a6e6e02a2030028e8820076c3b1295
comment:8 Changed 21 months ago by scottgonzalez
- Keywords alsoResize haspatch removed
- Milestone changed from 2.0.0 to 1.12.0
comment:9 Changed 21 months ago by Ben Mosher
Resizable: alsoResize more than one element of a jQuery selection
Fixes #4666 Closes gh-1324 Closes gh-1461 (cherry picked from commit 19783fd3e6a6e6e02a2030028e8820076c3b1295)
Changeset: 31e7099709a3bccaae8f83d397951096835269a2
comment:10 Changed 21 months ago by scottgonzalez
- Milestone changed from 1.12.0 to 1.11.4
Depends on #4957.