Opened 8 years ago

Closed 11 months ago

Last modified 11 months ago

#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

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.

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 11 months ago by scottgonzalez

  • Resolution set to fixed
  • Status changed from open to closed

In 623b64e:

Resizable: Implement setOption for handles

Fixes #3423
Closes gh-1666

comment:8 Changed 11 months ago by scottgonzalez

  • Milestone changed from 2.0.0 to 1.12.0
Note: See TracTickets for help on using tickets.