Opened 11 years ago

Last modified 8 years ago

#9170 open bug

Resizable: Disabling parent resizables also disables child resizables

Reported by: parktheredcar Owned by:
Priority: minor Milestone: none
Component: ui.resizable Version: 1.9.2
Keywords: Cc:
Blocked by: Blocking:

Description

Example here: http://jsfiddle.net/uYqZu/

When you have an outer div that is resizable that contains an inner div that is also resizable and attept to call $('#outer').resizable('option', 'disabled', true), the ui-resizable-handle is removed from the inner div as well.

This is related to issue #8344, which is the same issue but with "destroy".

The fix is not as simple as replacing .find() with .children() due to custom handles, as discussed here https://github.com/jquery/jquery-ui/pull/661

Change History (3)

comment:1 Changed 11 years ago by tj.vantoll

Status: newopen

comment:2 Changed 11 years ago by tj.vantoll

Summary: Resizable: Disable function removing ui-resizable-handle from inner containersResizable: Disabling parent resizables also disables child resizables

Updated the test case to master and removed the destroy portion since #8433 covers that. http://jsfiddle.net/tj_vantoll/nN3Mt/

#5025 is another issue with having resizables within resizables.

comment:3 Changed 8 years ago by adamhpe

is it possible it will be fixed in the next version? thanks.

Note: See TracTickets for help on using tickets.