Opened 13 years ago
Last modified 10 years ago
#4760 open bug
Resizable: custom handles not supported for multiple elements
Reported by: | JoshuaFlanagan | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | 2.0.0 |
Component: | ui.resizable | Version: | 1.7.2 |
Keywords: | haspatch | Cc: | |
Blocked by: | Blocking: |
Description
Assuming issue #4310 is resolved (or you manually add ui-resizable-handle and ui-resizable-s classes to your custom south handle), the custom handle will still not work properly if you selected multiple elements to be resizable. For example: $(".box").resizable({handles: {"s":".footer"}});
with html snippet: <div class="box"> <div class="footer ui-resizable-handle ui-resizable-s"></div> </div> <div class="box"> <div class="footer ui-resizable-handle ui-resizable-s"></div> </div>
Only the first box will have a usable south handle. It seems like the footer element for the first box is being configured as the handle for all all boxes.
Attaching a potential fix.
Attachments (1)
Change History (4)
Changed 13 years ago by
Attachment: | resizable_custom_handles.patch added |
---|
comment:1 Changed 13 years ago by
Milestone: | TBD → 1.8 |
---|
comment:2 Changed 10 years ago by
Milestone: | 1.9.0 → 2.0.0 |
---|
comment:3 Changed 10 years ago by
Keywords: | haspatch added |
---|---|
Status: | new → open |
Summary: | Resizable custom handles not supported for multiple elements → Resizable: custom handles not supported for multiple elements |
Verified this is still an issue in 1.9.1 - http://jsfiddle.net/tj_vantoll/Cd3Tx/.