Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#4185 closed bug (notabug)

KnobHandles functionality is missing in jQuery UI 1.6rc6

Reported by: tcarnell Owned by:
Priority: major Milestone: 1.7
Component: ui.resizable Version: 1.6rc6
Keywords: KnobHandles resizable missing Cc:
Blocked by: Blocking:

Description (last modified by rdworth)

I was relying on the KnobHandles feature of the 'resizable' component in UI version 1.5.x. I upgraded to version 1.6rc6 (and jQuery 1.3.1) because there were problems with the 'destroy' feature of 1.5.

...but the 'KnobHandles' feature seems to have been removed? The API documentation did not state that it was 'deprecated' and I cant find any other documentation about this, so I assume it is a bug.

Can this be confirmed?

We have been using this feature considerably in our beta product.

cheers, tom

Attachments (2)

knobHandles15.html (928 bytes) - added by rdworth 11 years ago.
knobHandles17.html (1.4 KB) - added by rdworth 11 years ago.

Download all attachments as: .zip

Change History (4)

comment:1 Changed 11 years ago by rdworth

Description: modified (diff)
Milestone: TBD1.6
Resolution: invalid
Status: newclosed
Summary: KnobHandles functionality is missing in jQuery UI 1.6KnobHandles functionality is missing in jQuery UI 1.6rc6

The knobHandles feature was removed as part of the transition to the new jQuery UI CSS Framework. The same can be achieved by css. This allows for the styling of the handles to be configurable and themeable, neither of which the 1.5.3 version offered (as the styling was done inline). Here's the css for doing 1.5-styled knobHandles in 1.6rc6/1.7:

.ui-resizable-handle {
width: 8px; height: 8px;
border: 1px solid rgb(128, 128, 128);
background: rgb(242, 242, 242);
}
.ui-resizable-n, .ui-resizable-s { left: 45%; }
.ui-resizable-e, .ui-resizable-w { top: 45%; }
.ui-resizable-se { bottom: -5px; right: -5px; }

See attached for full code samples of knobHandles in 1.5 compared to 1.7.

This will be fully documented in the Upgrade Guide (in progress) as part of the 1.7 final release.

Changed 11 years ago by rdworth

Attachment: knobHandles15.html added

Changed 11 years ago by rdworth

Attachment: knobHandles17.html added

comment:2 Changed 11 years ago by tcarnell

ok great, thanks for the CSS

Note: See TracTickets for help on using tickets.