#3423 closed bug (fixed)
Resizable: Can't change handles after init
| Reported by: | scottgonzalez | Owned by: | eduardo |
|---|---|---|---|
| Priority: | major | Milestone: | 1.12.0 |
| Component: | ui.resizable | Version: | 1.5.2 |
| Keywords: | Cc: | ||
| Blocked by: | Blocking: |
Description
$(el).data('handles.resizable', X) doesn't work.
Change History (8)
comment:1 Changed 8 years ago by scottgonzalez
- Milestone changed from TBD to 1.6
comment:2 Changed 8 years ago by rdworth
- Milestone changed from 1.7 to 1.8
comment:3 Changed 5 years ago by jnik
comment:4 Changed 4 years ago by kiro
Thanks jnik for providing a workaround. Just wanted to drop a note that #4310 might be related.
comment:5 Changed 4 years ago by scottgonzalez
- Milestone changed from 1.9.0 to 2.0.0
comment:6 Changed 4 years ago by mikesherov
- Status changed from new to open
comment:7 Changed 8 months ago by scottgonzalez
- Resolution set to fixed
- Status changed from open to closed
In 623b64e:
comment:8 Changed 8 months ago by scottgonzalez
- Milestone changed from 2.0.0 to 1.12.0
Note: See
TracTickets for help on using
tickets.
A dirty solution is to enable all the handlers that you are going to need on init.
Add a class like the following in CSS
.ui-hide-handler { width:0 !important; height:0 !important; }and add/remove the class to the handler DIVs according to your needs
$('.ui-icon-gripsmall-diagonal-se', element).addClass('ui-hide-handler'); $('.ui-resizable-sw', element).addClass('ui-hide-handler');As I said, it's dirty solution but it works.