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
Status: | new → open |
---|
comment:2 Changed 11 years ago by
Summary: | Resizable: Disable function removing ui-resizable-handle from inner containers → Resizable: Disabling parent resizables also disables child resizables |
---|
Note: See
TracTickets for help on using
tickets.
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.