Opened 14 years ago

Last modified 4 years ago

#4310 open bug

Resizable: custom handles do not work

Reported by: PsychodelEKS Owned by:
Priority: major Milestone: 2.0.0
Component: ui.resizable Version: 1.7
Keywords: resizable handles Cc:
Blocked by: Blocking:


According to documentation, one can specify custom objects-handlers for resizing. I've tried creating resizable object with the following settings:

<div class="wnd_container">

<div class="wnd_border wnd_top_left"></div> <div class="wnd_border wnd_top_right"></div> <div class="wnd_border wnd_bottom_right"></div> <div class="wnd_border wnd_bottom_left"></div> <div class="wnd_content">

Some text.



$('.wnd_container').resizable({ handles: {

ne:'div.wnd_top_right', se:'div.wnd_bottom_right', sw:'div.wnd_bottom_left', nw:'div.wnd_top_left'

} });

but the object can not be resized with those =( Though if I manually add resizable classes (e.g. "ui-resizable-se ui-resizable-handle") they start working (with/without handles option specified).

Url to test:

Change History (8)

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

Milestone: TBD1.7.2

comment:2 Changed 14 years ago by Jörn Zaefferer


comment:3 Changed 11 years ago by postal2600

Has anyone else fixed/started fixing this already? Otherwise, I'm on it.

comment:4 Changed 10 years ago by kiro

Got here by searching the bug tracker for tickets on "resizable handles". I think this can be broken down to "setting handles on init works, using the setter after init won't work".

WORKS: $("#resizable").resizable( {handles: 'e, w'} );

WON'T WORK: $("#resizable").resizable( ); $("#resizable").resizable( "option", "handles", 'e, w' );

Bug #3423 might be related.


comment:5 Changed 10 years ago by Scott González

@kiro That's a very different bug.

comment:6 Changed 10 years ago by Scott González


comment:7 Changed 10 years ago by tj.vantoll

Status: newopen
Summary: Resizable custom handles not workingResizable: custom handles do not work

Verified this is still an issue in 1.9.1 -

comment:8 Changed 4 years ago by Christian Wenz

Documentation mentions that the CSS classes need to be set -> I'd suggest to close the ticket.

Note: See TracTickets for help on using tickets.