Skip to main content

Search and Top Navigation

#9170 open bug ()

Opened March 20, 2013 07:54PM UTC

Last modified March 16, 2016 07:02AM UTC

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

Attachments (0)
Change History (3)

Changed March 21, 2013 03:04AM UTC by tj.vantoll comment:1

status: newopen

Changed March 21, 2013 03:12AM UTC by tj.vantoll comment:2

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.

Changed March 16, 2016 07:02AM UTC by adamhpe comment:3

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