Opened 10 years ago

Last modified 7 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)

resizable_custom_handles.patch (318 bytes) - added by JoshuaFlanagan 10 years ago.

Download all attachments as: .zip

Change History (4)

Changed 10 years ago by JoshuaFlanagan

comment:1 Changed 10 years ago by Jörn Zaefferer

Milestone: TBD1.8

comment:2 Changed 7 years ago by Scott González

Milestone: 1.9.02.0.0

comment:3 Changed 7 years ago by tj.vantoll

Keywords: haspatch added
Status: newopen
Summary: Resizable custom handles not supported for multiple elementsResizable: custom handles not supported for multiple elements

Verified this is still an issue in 1.9.1 - http://jsfiddle.net/tj_vantoll/Cd3Tx/.

Note: See TracTickets for help on using tickets.